Click or drag to resize
AsyncTaskMethodBuilderTResultAwaitOnCompletedTAwaiter, TStateMachine Method
This API is preliminary and subject to change.
Schedules the specified state machine to be pushed forward when the specified awaiter completes.

Namespace: System.Runtime.CompilerServices
Assembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public void AwaitOnCompleted<TAwaiter, TStateMachine>(
	ref TAwaiter awaiter,
	ref TStateMachine stateMachine
)
where TAwaiter : INotifyCompletion
where TStateMachine : IAsyncStateMachine

Parameters

awaiter
Type: TAwaiter
The awaiter.
stateMachine
Type: TStateMachine
The state machine.

Type Parameters

TAwaiter
Specifies the type of the awaiter.
TStateMachine
Specifies the type of the state machine.
Version Information

.NET Framework

Supported in: 3.5

Threading Library

Supported in: 2.1
See Also