Класс Error
Represents a data contracts error message.
Иерархия наследования
System.Object
Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
Microsoft.MasterDataServices.Services.DataContracts.Error
Пространство имен: Microsoft.MasterDataServices.Services.DataContracts
Сборка: Microsoft.MasterDataServices.Services.Contracts (в Microsoft.MasterDataServices.Services.Contracts.dll)
Синтаксис
'Декларация
<DataContractAttribute(Name := "Error", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class Error _
Inherits DataContractBase
'Применение
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
Тип 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.) |
![]() |
SetProperty<T> | Инфраструктура. Sets the property using the specified values. (Производный от DataContractBase.) |
![]() |
ToString | Generates a string representation of the error. (Переопределяет Object.ToString().) |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также
Справочник
Пространство имен Microsoft.MasterDataServices.Services.DataContracts