IteratorStateMachineAttribute(Type) Constructor

Definition

Initializes a new instance of the IteratorStateMachineAttribute class.

public:
 IteratorStateMachineAttribute(Type ^ stateMachineType);
public IteratorStateMachineAttribute (Type stateMachineType);
new System.Runtime.CompilerServices.IteratorStateMachineAttribute : Type -> System.Runtime.CompilerServices.IteratorStateMachineAttribute
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