共用方式為


BindValidationContext 建構函式

定義

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

多載

BindValidationContext(Type)

初始化 目標之 的同時,初始化 類別的新執行個體。

BindValidationContext(Type, AccessTypes)

初始化 BindValidationContext 類別的新執行個體,並初始化 Type,和由這個執行個體所表示繫結目標的 AccessTypes

BindValidationContext(Type)

初始化 目標之 的同時,初始化 類別的新執行個體。

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 類別的新執行個體,並初始化 Type,和由這個執行個體所表示繫結目標的 AccessTypes

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

例外狀況

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

適用於