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

基礎狀態機器類型的類型物件,該類型會被用來實作狀態機器方法。

適用於