AsyncVoidMethodBuilder..::..AwaitOnCompleted<(Of <(<'TAwaiter, TStateMachine>)>)> Method
Schedules the state machine to proceed to the next action when the specified awaiter completes.
Namespace:
System.Runtime.CompilerServicesAssembly: Bridge (in Bridge.dll)
Syntax
public void AwaitOnCompleted<TAwaiter, TStateMachine>( ref TAwaiter awaiter, ref TStateMachine stateMachine ) where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine
Public Sub AwaitOnCompleted(Of TAwaiter As INotifyCompletion, TStateMachine As IAsyncStateMachine) ( _ ByRef awaiter As TAwaiter, _ ByRef stateMachine As TStateMachine _ )
public: generic<typename TAwaiter, typename TStateMachine> where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine void AwaitOnCompleted( TAwaiter% awaiter, TStateMachine% stateMachine )
Type Parameters
- TAwaiter
- The type of the awaiter.
- TStateMachine
- The type of the state machine.
Parameters
- awaiter
- Type: TAwaiter%
The awaiter.
- stateMachine
- Type: TStateMachine%
The state machine.