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 | |
---|---|---|
Error() () () () | Initializes a new instance of the Error class with default values. | |
Error(String, String) | Initializes a new instance of the Error class with the specified code and description values. | |
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 | |
---|---|---|
Code | Gets or sets the error code. | |
Context | Gets or sets the object context of the error, if applicable. | |
Description | Gets or sets the text describing the error. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
MemberwiseClone | (Geerbt von Object.) | |
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.