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()。) |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)
.gif)