Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ValidationContext Constructor

.NET Framework (current version)
 

Initializes a new instance of the ValidationContext class.

Namespace:   System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

NameDescription
System_CAPS_pubmethodValidationContext(Object^)

Initializes a new instance of the ValidationContext class using the specified object instance

System_CAPS_pubmethodValidationContext(Object^, IDictionary<Object^, Object^>^)

Initializes a new instance of the ValidationContext class using the specified object and an optional property bag.

System_CAPS_pubmethodValidationContext(Object^, IServiceProvider^, IDictionary<Object^, Object^>^)

Initializes a new instance of the ValidationContext class using the service provider and dictionary of service consumers.

Return to top
Show:
© 2017 Microsoft