CreateException(object, string, LocationKind, LocationValidationContext)
Declaration
protected virtual Exception CreateException(object value, string locationName, LocationKind locationKind, LocationValidationContext context)Parameters
| Type | Name | Description |
|---|---|---|
| object | value | |
| string | locationName | |
| LocationKind | locationKind | |
| LocationValidationContext | context |
Returns
| Type | Description |
|---|---|
| Exception |