Freigeben über


Error-Klasse

Represents a data contracts error message.

Vererbungshierarchie

System.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)

Syntax

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

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.)
Geschützte Methode SetProperty<T> Infrastruktur Sets the property using the specified values. (Geerbt von DataContractBase.)
Öffentliche Methode ToString Generates a string representation of 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.

Siehe auch

Verweis

Microsoft.MasterDataServices.Services.DataContracts-Namespace