FormatErrorMessage(object, string, LocationKind)
Formats the ErrorMessage with concrete values.
Declaration
[Obsolete("Use ContractServices.LocalizedTextProvider.GetFormattedMessage.")]
protected string FormatErrorMessage(object value, string locationName, LocationKind locationKind)Parameters
| Type | Name | Description |
|---|---|---|
| object | value | Value assigned to the location. |
| string | locationName | Name of the location. |
| LocationKind | locationKind | Location kind. |
Returns
| Type | Description |
|---|---|
| string | A string derived from ErrorMessage, where placeholders have been replaced by their concrete value. |