Error Error 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
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() Error() Error()

Default constructor

Properties

Code Code Code

Gets or sets the error code.

Context Context Context

Gets or sets the object context of the error if applicable.

Description Description Description

Gets or sets the text describing the error.

Number Number Number

Gets or sets the error number.

Methods

SetProperty<T>(T, T, String) SetProperty<T>(T, T, String) 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)
SetProperty<T>(T, T, String, Boolean) SetProperty<T>(T, T, String, Boolean) 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)
ToString() ToString() ToString()

Generates a formatted trace message for the error.

Applies to