ActivityCodeGeneratorAttribute 建構函式

定義

初始化 ActivityCodeGeneratorAttribute 類別的新執行個體。

多載

ActivityCodeGeneratorAttribute(String)

初始化 ActivityCodeGeneratorAttribute 類別的新執行個體,也初始化 CodeGeneratorTypeName

ActivityCodeGeneratorAttribute(Type)

ActivityCodeGeneratorAttribute 程式碼產生器,初始化 Type 類別的新執行個體。

ActivityCodeGeneratorAttribute(String)

初始化 ActivityCodeGeneratorAttribute 類別的新執行個體,也初始化 CodeGeneratorTypeName

public:
 ActivityCodeGeneratorAttribute(System::String ^ codeGeneratorTypeName);
public ActivityCodeGeneratorAttribute (string codeGeneratorTypeName);
new System.Workflow.ComponentModel.Compiler.ActivityCodeGeneratorAttribute : string -> System.Workflow.ComponentModel.Compiler.ActivityCodeGeneratorAttribute
Public Sub New (codeGeneratorTypeName As String)

參數

codeGeneratorTypeName
String

的指定值。

例外狀況

codeGeneratorTypeName 為 null 參考 (在 Visual Basic 中為 Nothing)。

適用於

ActivityCodeGeneratorAttribute(Type)

ActivityCodeGeneratorAttribute 程式碼產生器,初始化 Type 類別的新執行個體。

public:
 ActivityCodeGeneratorAttribute(Type ^ codeGeneratorType);
public ActivityCodeGeneratorAttribute (Type codeGeneratorType);
new System.Workflow.ComponentModel.Compiler.ActivityCodeGeneratorAttribute : Type -> System.Workflow.ComponentModel.Compiler.ActivityCodeGeneratorAttribute
Public Sub New (codeGeneratorType As Type)

參數

codeGeneratorType
Type

用來初始化執行個體的 Type

例外狀況

codeGeneratorType 為 null 參考 (在 Visual Basic 中為 Nothing)。

codeGeneratorType 無法指派給程式碼產生器的類型,或是沒有無參數建構函式。

適用於