Share via


IteratorStateMachineAttribute(Type) 构造函数

定义

初始化 IteratorStateMachineAttribute 类的新实例。

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

参数

stateMachineType
Type

用于实现状态机方法的基础状态机类型的类型对象。

适用于