Constructor ValidationError
| Improve this Doc View SourceValidationError(String, T)
Initializes a new instance of ValidationError<T> class.
Declaration
protected ValidationError(string message, T source)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The validation error message. |
T | source | The source of the validation error. |