Error 类

Represents an error.

继承层次结构

System.Object
  Microsoft.MasterDataServices.DataContractBase
    Microsoft.MasterDataServices.Error

命名空间:  Microsoft.MasterDataServices
程序集:  Microsoft.MasterDataServices(在 Microsoft.MasterDataServices.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.

页首

属性

  名称 说明
公共属性 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.
公共属性 ExtensionData Gets or sets the structure that contains extra data. (从 DataContractBase 继承。)

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.MasterDataServices 命名空间