ValidationContext Methods

The ValidationContext type exposes the following members.

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetService Returns the service that provides custom validation.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeServiceProvider Initializes the ValidationContext using a service provider that can return service instances by type when GetService is called.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft