Export (0) Print
Expand All

Error Class

Represents a data contracts error message.

Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.Error

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

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

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.)
Protected methodSetProperty<T>Infrastructure. Sets the property using the specified values. (Inherited from DataContractBase.)
Public methodToStringGenerates a string representation of the error. (Overrides ObjectToString.)
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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft