AsyncIteratorMethodBuilder.MoveNext<TStateMachine> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在 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
狀態機實例,透過參考傳遞。