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

基礎狀態機器型別的型別物件,編譯器產生此型別以實作狀態機器方法。

適用於

另請參閱