AsyncIteratorMethodBuilder.MoveNext<TStateMachine> 方法

定义

在状态机上调用MoveNext(),同时保护 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)

类型参数

TStateMachine

状态机的类型。

参数

stateMachine
TStateMachine

由引用传递的状态机实例。

适用于