StateMachineAttribute(Type) 构造函数

定义

初始化 StateMachineAttribute 类的新实例。

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

参数

stateMachineType
Type

编译器为实现状态机方法而生成的基础状态机类型的类型对象。

适用于

另请参阅