This documentation is archived and is not being maintained.

ValidationAttribute Constructor

Initializes a new instance of the ValidationAttribute class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Protected method ValidationAttribute() Initializes a new instance of the ValidationAttribute class.
Protected method ValidationAttribute(Func<String>) Initializes a new instance of the ValidationAttribute class using the function that enables access to validation resources.
Protected method ValidationAttribute(String) Initializes a new instance of ValidationAttribute class using the error message to associate with a validation control.
Top
Show: