The EmailAddressValidationRule type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EmailAddressValidationRule |
Initializes a new instance of the EmailAddressValidationRule class.
|
Methods
Name | Description | |
---|---|---|
Validate |
Perform the validation logic associated with this rule.
(Overrides ValidationRule..::.Validate(ValidationContext).) |
Properties
Name | Description | |
---|---|---|
DefaultMessage |
Returns the default error message format string.
(Overrides ValidationRule..::.DefaultMessage.) | |
IsRequired |
Whether the target is required to be present.
| |
Message |
Allows a custom error message format string to be specified.
Use {0} as a placeholder for the name of the attribute being validated.
(Inherited from ValidationRule.) |