Redigera

Share via


IAsyncStateMachine Interface

Definition

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

Methods

MoveNext()

Moves the state machine to its next state.

SetStateMachine(IAsyncStateMachine)

Configures the state machine with a heap-allocated replica.

Applies to