Share via


Error Class

Definition

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.
Returns whether the new value is different from the old value.

(Inherited from DataContractBase)
SetProperty<T>(T, T, String)

Changes the property to the given value.
Returns whether the new value is different from the old value.

(Inherited from DataContractBase)
ToString()

Generates a formatted trace message for the error.

Applies to