AsyncConfig(AsyncCallback, FuncBoolean) Constructor

Initializes a new instance of the AsyncConfig class.

Definition

Namespace: KGySoft.Threading
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public AsyncConfig(
	AsyncCallback? completedCallback,
	Func<bool>? isCancelRequestedCallback = null
)

Parameters

completedCallback  AsyncCallback
A callback that will be invoked when the operation is completed..
isCancelRequestedCallback  FuncBoolean  (Optional)
A callback that can return whether cancellation has been requested.

See Also