AsyncIteratorStateMachineAttribute(Type) Constructor

Definition

Initializes a new instance of the AsyncIteratorStateMachineAttribute class.

public:
 AsyncIteratorStateMachineAttribute(Type ^ stateMachineType);
public AsyncIteratorStateMachineAttribute (Type stateMachineType);
new System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute : Type -> System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute
Public Sub New (stateMachineType As Type)

Parameters

stateMachineType
Type

The type object for the underlying state machine type that's used to implement a state machine method.

Applies to