Error Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An information container for an error that occurred during the processing of a request.
public ref class Error : Microsoft::MasterDataServices::Services::DataContracts::DataContractBase
[System.Runtime.Serialization.DataContract(Name="Error", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class Error : Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
[<System.Runtime.Serialization.DataContract(Name="Error", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type Error = class
inherit DataContractBase
Public Class Error
Inherits DataContractBase
- Inheritance
- Attributes
Remarks
The Error complex type specifies an information container for an error that occurred during the processing of a request.
Constructors
Error() |
Default constructor |
Properties
Code |
Obsolete.
Specifies the error code. |
Context |
Specifies the object context of the error if applicable. |
Description |
Specifies the text describing the error. |
Number |
Specifies the error number. |
Methods
SetProperty<T>(T, T, String, Boolean) |
Changes the property to the given value. |
SetProperty<T>(T, T, String) |
Changes the property to the given value. |
ToString() |
Generates a formatted trace message for the error. |