Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataAnnotationsModelValidationFactory Delegate
Collapse the table of content
Expand the table of content

DataAnnotationsModelValidationFactory Delegate

.NET Framework 4.6 and 4.5

Represents the method that creates a DataAnnotationsModelValidatorProvider instance.

Namespace:  System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

public delegate ModelValidator DataAnnotationsModelValidationFactory(
	ModelMetadata metadata,
	ModelBindingExecutionContext context,
	ValidationAttribute attribute

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft