Bewerken

Delen via


ActivityValidatorAttribute Constructors

Definition

Initializes a new instance of the ActivityValidatorAttribute class.

Overloads

ActivityValidatorAttribute(String)

Initializes an instance of the ActivityValidatorAttribute class by using the type of the validator.

ActivityValidatorAttribute(Type)

Initializes a new instance of the ActivityValidatorAttribute class by using the specified validator type name.

Remarks

The following table shows the initial property values for an instance of the ActivityValidatorAttribute class.

Property Value
ValidatorTypeName null reference (Nothing in Visual Basic).

ActivityValidatorAttribute(String)

Initializes an instance of the ActivityValidatorAttribute class by using the type of the validator.

public:
 ActivityValidatorAttribute(System::String ^ validatorTypeName);
public ActivityValidatorAttribute (string validatorTypeName);
new System.Workflow.ComponentModel.Compiler.ActivityValidatorAttribute : string -> System.Workflow.ComponentModel.Compiler.ActivityValidatorAttribute
Public Sub New (validatorTypeName As String)

Parameters

validatorTypeName
String

Type of the Validator.

Remarks

For a list of initial property values for an instance of the ActivityValidatorAttribute class, see the ActivityValidatorAttribute constructor.

Applies to

ActivityValidatorAttribute(Type)

Initializes a new instance of the ActivityValidatorAttribute class by using the specified validator type name.

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

Parameters

validatorType
Type

The name of the Validator type.

Remarks

For a list of initial property values for an instance of the ActivityValidatorAttribute class, see the ActivityValidatorAttribute constructor.

Applies to