ActivityValidator Class
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.
Caution
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
Derivative of DependencyObjectValidator that is a base class for all activity validator components.
public ref class ActivityValidator : System::Workflow::ComponentModel::Compiler::DependencyObjectValidator
public class ActivityValidator : System.Workflow.ComponentModel.Compiler.DependencyObjectValidator
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public class ActivityValidator : System.Workflow.ComponentModel.Compiler.DependencyObjectValidator
type ActivityValidator = class
inherit DependencyObjectValidator
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ActivityValidator = class
inherit DependencyObjectValidator
Public Class ActivityValidator
Inherits DependencyObjectValidator
- Inheritance
- Derived
- Attributes
Remarks
Note
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
Constructors
ActivityValidator() |
Initializes a new instance of the ActivityValidator class. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetFullPropertyName(ValidationManager) |
Helper method to extract the full property name. (Inherited from Validator) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Validate(ValidationManager, Object) |
Verifies that the given activity is valid. |
ValidateActivityChange(Activity, ActivityChangeAction) |
When overridden in a derived class, validates a change based on a specified Activity being added or removed. This function is called during the application of changes that are made to the workflow during dynamic updates. (Inherited from Validator) |
ValidateProperties(ValidationManager, Object) |
Helper method to automatically validate the specific objects properties. (Inherited from Validator) |
ValidateProperty(PropertyInfo, Object, Object, ValidationManager) |
Performs validation on a property and returns a ValidationErrorCollection that contains the results of that validation. (Inherited from Validator) |