ValidationContext Constructor

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: