GetFormattedMessage(ContractExceptionInfo)
Gets a message template using GetMessage(string) and formats it using the values in exceptionInfo.
Declaration
public string GetFormattedMessage(ContractExceptionInfo exceptionInfo)Parameters
| Type | Name | Description |
|---|---|---|
| ContractExceptionInfo | exceptionInfo | Information about the exception to be created. |
Returns
| Type | Description |
|---|---|
| string | A formatted message that uses the formatting parameters described in the remarks of the documentation of the ContractLocalizedTextProvider class. |