| CancelableAsyncInitBaseTInitAsync Method (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(
CancellationToken cancellationToken
)
Protected MustOverride Function InitAsync (
cancellationToken As CancellationToken
) As Task
protected:
virtual Task^ InitAsync(
CancellationToken cancellationToken
) abstract
abstract InitAsync :
cancellationToken : CancellationToken -> Task
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
Cancellation token.
Return Value
Type:
TaskA
Task capturing the initialization.
See Also