AsyncIteratorMethodBuilder.MoveNext<TStateMachine>(TStateMachine) Method

Definition

Invokes MoveNext() on the state machine while guarding the ExecutionContext.

public:
generic <typename TStateMachine>
 where TStateMachine : System::Runtime::CompilerServices::IAsyncStateMachine void MoveNext(TStateMachine % stateMachine);
public void MoveNext<TStateMachine> (ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine;
member this.MoveNext : 'StateMachine -> unit (requires 'StateMachine :> System.Runtime.CompilerServices.IAsyncStateMachine)
Public Sub MoveNext(Of TStateMachine As IAsyncStateMachine) (ByRef stateMachine As TStateMachine)

Type Parameters

TStateMachine

The type of the state machine.

Parameters

stateMachine
TStateMachine

The state machine instance, passed by reference.

Applies to