Error Class

Represents a data contracts error message.

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.Error

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

[DataContractAttribute(Name = "Error", Namespace = "http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class Error

The Error type exposes the following members.

  NameDescription
Public methodError()Initializes a new instance of the Error class with default values.
Public methodError(String, String)Initializes a new instance of the Error class with the specified code and description values.
Public methodError(String, String, ErrorContext)Initializes a new instance of the Error class with the specified code, description, and error context values.
Top

  NameDescription
Public propertyCodeGets or sets the error code.
Public propertyContextGets or sets the object context of the error, if applicable.
Public propertyDescriptionGets or sets the text describing the error.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringGenerates a formatted trace message for the error. (Overrides Object.ToString().)
Top

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

Community Additions

ADD
Show: