Share via


Error-Klasse

Represents a data contracts error message.

Vererbungshierarchie

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

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

Syntax

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

Der Error-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode Error() () () () Initializes a new instance of the Error class with default values.
Öffentliche Methode Error(String, String) Initializes a new instance of the Error class with the specified code and description values.
Öffentliche Methode Error(String, String, ErrorContext) Initializes a new instance of the Error class with the specified code, description, and error context values.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Code Gets or sets the error code.
Öffentliche Eigenschaft Context Gets or sets the object context of the error, if applicable.
Öffentliche Eigenschaft Description Gets or sets the text describing the error.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString Generates a formatted trace message for the error. (Überschreibt Object. . :: . .ToString() () () ().)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.