Open sandboxFocus

Method GetErrorMessageArguments

GetErrorMessageArguments()

Gets the values of the additional arguments for the error message associated with a particular instance of LocationContractAttribute. These arguments can be referenced from the error message string by {4}, {5}, and so on.

Declaration
[Obsolete("Use ContractServices.ExceptionFactory.CreateException to generate error messages.")]
protected virtual object[] GetErrorMessageArguments()
Returns
Type Description
object[]

An array of additional argument values.

Remarks

This method is expected to be pure, that is, its result can be cached. The implementer should not return information that may change after the constructor of the class has finished.