ActivityValidatorAttribute 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 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
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
Remarks
For a list of initial property values for an instance of the ActivityValidatorAttribute class, see the ActivityValidatorAttribute constructor.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈