BindValidationContext 构造函数

定义

初始化 BindValidationContext 类的新实例。

重载

BindValidationContext(Type)

初始化 BindValidationContext 类的新实例,同时初始化 Type 的目标的 ActivityBind

BindValidationContext(Type, AccessTypes)

初始化 BindValidationContext 类的新实例,同时初始化由此实例表示的绑定的目标的 TypeAccessTypes

BindValidationContext(Type)

初始化 BindValidationContext 类的新实例,同时初始化 Type 的目标的 ActivityBind

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

参数

targetType
Type

Type 的目标的 ActivityBind

适用于

BindValidationContext(Type, AccessTypes)

初始化 BindValidationContext 类的新实例,同时初始化由此实例表示的绑定的目标的 TypeAccessTypes

public:
 BindValidationContext(Type ^ targetType, System::Workflow::ComponentModel::Compiler::AccessTypes access);
public BindValidationContext (Type targetType, System.Workflow.ComponentModel.Compiler.AccessTypes access);
new System.Workflow.ComponentModel.Compiler.BindValidationContext : Type * System.Workflow.ComponentModel.Compiler.AccessTypes -> System.Workflow.ComponentModel.Compiler.BindValidationContext
Public Sub New (targetType As Type, access As AccessTypes)

参数

targetType
Type

由此实例表示的 Type 的目标的 ActivityBind

access
AccessTypes

由此实例表示的 AccessTypes 的目标的 ActivityBind

例外

为空引用(在 Visual Basic 中为 Nothing)。

适用于