BindValidationContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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
適用於
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)。