| CancelableAsyncInitBaseT, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6InitAsync Method (TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, 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,
TArg3 arg3,
TArg4 arg4,
TArg5 arg5,
TArg6 arg6,
CancellationToken cancellationToken
)
Protected MustOverride Function InitAsync (
arg1 As TArg1,
arg2 As TArg2,
arg3 As TArg3,
arg4 As TArg4,
arg5 As TArg5,
arg6 As TArg6,
cancellationToken As CancellationToken
) As Task
protected:
virtual Task^ InitAsync(
TArg1 arg1,
TArg2 arg2,
TArg3 arg3,
TArg4 arg4,
TArg5 arg5,
TArg6 arg6,
CancellationToken cancellationToken
) abstract
abstract InitAsync :
arg1 : 'TArg1 *
arg2 : 'TArg2 *
arg3 : 'TArg3 *
arg4 : 'TArg4 *
arg5 : 'TArg5 *
arg6 : 'TArg6 *
cancellationToken : CancellationToken -> Task
Parameters
- arg1
- Type: TArg1
The first initialization argument. - arg2
- Type: TArg2
The second initialization argument. - arg3
- Type: TArg3
The third initialization argument. - arg4
- Type: TArg4
The fourth initialization argument. - arg5
- Type: TArg5
The fifth initialization argument. - arg6
- Type: TArg6
The sixth initialization argument. - cancellationToken
- Type: System.ThreadingCancellationToken
Cancellation token.
Return Value
Type:
TaskA
Task capturing the initialization.
See Also