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() () () ()。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
.gif)
.gif)
.gif)