dgException.FormatMessage Method
Definition
Namespace: ASNA.DataGate.Common
Assembly: ASNA.QSys.DataGate.Client.dll
Formats the error message into a single string for logging or displaying to the user.
string FormatMessage(IFormatProvider provider, string msg)
Formats the error message into a single string for logging or displaying to the user.
string FormatMessage(IFormatProvider provider, string msg)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| IFormatProvider | provider | An object that supplies culture-specific formatting information. |
| String | msg | The error message. |
Returns
| Type | Description |
|---|---|
| String | A formatted string containing the error message. |