Share via


Error Class

Represents an error.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.DataContractBase
    Microsoft.MasterDataServices.Error

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (in Microsoft.MasterDataServices.dll)

Syntax

'Declaration
<DataContractAttribute(Name := "Error", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class Error _
    Inherits DataContractBase
'Usage
Dim instance As Error
[DataContractAttribute(Name = "Error", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class Error : DataContractBase
[DataContractAttribute(Name = L"Error", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class Error : public DataContractBase
[<DataContractAttribute(Name = "Error", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type Error =  
    class
        inherit DataContractBase
    end
public class Error extends DataContractBase

The Error type exposes the following members.

Constructors

  Name Description
Public method Error Initializes a new instance of the Error class.

Top

Properties

  Name Description
Public property Code Gets or sets the error code.
Public property Context Gets or sets the object context of the error, if applicable.
Public property Description Gets or sets the text describing the error.
Public property ExtensionData Gets or sets the structure that contains extra data. (Inherited from DataContractBase.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.MasterDataServices Namespace