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

例外

codeGeneratorTypeName是空引用(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是空引用(Visual Basic 中的 Nothing)。

codeGeneratorType 不能分配给代码生成器的类型或没有无参数构造函数。

适用于