IAsyncStateMachine 介面

定義

表示針對非同步方法所產生的狀態機器。Represents state machines that are generated for asynchronous methods. 這個型別僅供編譯器使用。This type is intended for compiler use only.

public interface class IAsyncStateMachine
public interface IAsyncStateMachine
type IAsyncStateMachine = interface
Public Interface IAsyncStateMachine

方法

MoveNext()

將狀態機器移到下一個狀態。Moves the state machine to its next state.

SetStateMachine(IAsyncStateMachine)

使用堆積配置的複本設定狀態機器。Configures the state machine with a heap-allocated replica.

適用於