GetErrorMessageArguments()
Gets values of additional arguments for error message associated with particular instance of LocationContractAttribute.
There arguments can be referenced from error message string by {4}
, {5}
and so on.
Declaration
[Obsolete("Use ContractServices.ExceptionFactory.CreateException to generate error messages.")]
protected override object[] GetErrorMessageArguments()
Returns
Type | Description |
---|---|
object[] | An array of additional argument values. |
Overrides
Remarks
This method is expected to be pure, i.e. it's result can be cached and so the implementer should not return information that may change after constructor of the class has finished.