ValidationManager 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.*
Enables the sharing of contextual information, such as property validation, parent activity, and so on, across validators during the compilation process.
public ref class ValidationManager sealed : IServiceProvider
public sealed class ValidationManager : IServiceProvider
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class ValidationManager : IServiceProvider
type ValidationManager = class
interface IServiceProvider
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ValidationManager = class
interface IServiceProvider
Public NotInheritable Class ValidationManager
Implements IServiceProvider
- Inheritance
-
ValidationManager
- Attributes
- Implements
Remarks
Note
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
For a list of initial property values regarding an instance of the ValidationManager class, see the ValidationManager constructor.
Constructors
ValidationManager(IServiceProvider, Boolean) |
Initializes a new instance of the ValidationManager class using the identified service provider and indicates whether child Activity classes should be validated. |
ValidationManager(IServiceProvider) |
Initializes a new instance of the ValidationManager class using the identified service provider. |
Properties
Context |
Gets a value that indicates the stack object that a validator can use to make information available to nested validators. |
ValidateChildActivities |
Gets a value that indicates whether child Activity classes should be validated. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetService(Type) |
Gets the service object of the specified Type. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
GetValidators(Type) |
Returns an array of validators that are associated with a type by looking up the validator attribute applied on the type. |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |