Compartir a través de


Clase Error

Represents a data contracts error message.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.MasterDataServices.Services.DataContracts
Ensamblado:  Microsoft.MasterDataServices.Services.Contracts (en Microsoft.MasterDataServices.Services.Contracts.dll)

Sintaxis

'Declaración
<DataContractAttribute(Name := "Error", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class Error _
    Inherits DataContractBase
'Uso
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

El tipo Error expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público Error() Initializes a new instance of the Error class with default values.
Método público Error(String, String) Initializes a new instance of the Error class with the specified code and description values.
Método público Error(String, String, ErrorContext) Initializes a new instance of the Error class with the specified code, description, and error context values.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Code Gets or sets the error code.
Propiedad pública Context Gets or sets the object context of the error, if applicable.
Propiedad pública Description Gets or sets the text describing the error.

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método protegido SetProperty<T> Infraestructura. Sets the property using the specified values. (Se hereda de DataContractBase.)
Método público ToString Generates a string representation of the error. (Invalida Object.ToString().)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.MasterDataServices.Services.DataContracts