BindValidationContext 建構函式

定義

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

多載

名稱 Description
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

TypeActivityBind

適用於

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

例外狀況

是空參考(Nothing 在 Visual Basic)。

適用於