共用方式為


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

狀態機器執行個體,由參考傳遞。

適用於