Condividi tramite


Classe Error

Represents a data contracts error message.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services (in Microsoft.MasterDataServices.Services.dll)

Sintassi

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

Nel tipo Error sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico Error() () () () Initializes a new instance of the Error class with default values.
Metodo pubblico Error(String, String) Initializes a new instance of the Error class with the specified code and description values.
Metodo pubblico Error(String, String, ErrorContext) Initializes a new instance of the Error class with the specified code, description, and error context values.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Code Gets or sets the error code.
Proprietà pubblica Context Gets or sets the object context of the error, if applicable.
Proprietà pubblica Description Gets or sets the text describing the error.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Generates a formatted trace message for the error. Esegue l'override di Object. . :: . .ToString() () () ().

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.