Method FormatErrorMessage
FormatErrorMessage(string)
Applies formatting to an error message, based on the data field where the error occurred.
Declaration
public override string FormatErrorMessage(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name to include in the formatted message. |
Returns
| Type | Description |
|---|---|
| string | An instance of the formatted error message. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | The current attribute is malformed. |