ErrorMessage
Gets or sets the error message formatting string.
Declaration
[Obsolete("Use ContractExceptionFactory and ContractLocalizedTextProvider to generate error messages.")]
public string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
See remarks on LocationContractAttribute for information about message parameters.
If the value of this property is set to
Set this property only for legacy purposes. Otherwise, use GetErrorMessage() method.