Click or drag to resize

CancelableAsyncInitBaseT, TArg1, TArg2InitAsync Method (TArg1, TArg2, CancellationToken)

Asynchronously initializes an instance. Overridden by the deriving type.

Namespace:  Ditto.AsyncInit
Assembly:  Ditto.AsyncInit (in Ditto.AsyncInit.dll) Version: 1.5.0.2281
Syntax
protected abstract Task InitAsync(
	TArg1 arg1,
	TArg2 arg2,
	CancellationToken cancellationToken
)

Parameters

arg1
Type: TArg1
The first initialization argument.
arg2
Type: TArg2
The second initialization argument.
cancellationToken
Type: System.ThreadingCancellationToken
Cancellation token.

Return Value

Type: Task
A Task capturing the initialization.
See Also