BindValidationContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the BindValidationContext class.
Overloads
BindValidationContext(Type) |
Initializes a new instance of the BindValidationContext class, while initializing the Type of the target of the ActivityBind. |
BindValidationContext(Type, AccessTypes) |
Initializes a new instance of the BindValidationContext class, initializing the Type and the AccessTypes of the target of the bind represented by this instance. |
BindValidationContext(Type)
Initializes a new instance of the BindValidationContext class, while initializing the Type of the target of the 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)
Parameters
- targetType
- Type
The Type of the target of the ActivityBind.
Applies to
BindValidationContext(Type, AccessTypes)
Initializes a new instance of the BindValidationContext class, initializing the Type and the AccessTypes of the target of the bind represented by this instance.
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)
Parameters
- targetType
- Type
The Type of the target of the ActivityBind represented by this instance.
- access
- AccessTypes
The AccessTypes of the target of the ActivityBind represented by this instance.
Exceptions
Is a null reference (Nothing
in Visual Basic).