Класс Error

Represents a data contracts error message.

Иерархия наследования

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

Пространство имен:  Microsoft.MasterDataServices.Services.DataContracts
Сборка:  Microsoft.MasterDataServices.Services (в Microsoft.MasterDataServices.Services.dll)

Синтаксис

'Декларация
<DataContractAttribute(Name := "Error", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class Error
'Применение
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

Тип Error обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод 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.

В начало

Свойства

  Имя Описание
Открытое свойство 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.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString Generates a formatted trace message for the error. (Переопределяет Object. . :: . .ToString() () () ().)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.