LocationContractAttribute Methods |
The LocationContractAttribute type exposes the following members.
Name | Description | |
---|---|---|
|
CreateArgumentException |
Creates an ArgumentException with an error message formatted from ErrorMessage and
given concrete values.
|
|
CreateArgumentNullException |
Creates an ArgumentNullException with an error message formatted from ErrorMessage and
given concrete values.
|
|
CreateArgumentOutOfRangeException |
Creates an ArgumentOutOfRangeException with an error message formatted from ErrorMessage and
given concrete values.
|
|
CreatePostconditionFailedException |
Creates an PostconditionFailedException with an error message formatted from ErrorMessage and
given concrete values.
|
|
FormatErrorMessage |
Formats the ErrorMessage with concrete values.
|
|
GetErrorMessage |
Gets unformatted error message as defined by the instance.
|
|
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.
|
Name | Description | |
---|---|---|
|
QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |