Error Class

Definition

表示一个错误。Represents an error.

public ref class Error : Microsoft::MasterDataServices::DataContractBase
[System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")]
[System.Diagnostics.DebuggerStepThrough]
[System.Runtime.Serialization.DataContract(Name="Error", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class Error : Microsoft.MasterDataServices.DataContractBase
type Error = class
    inherit DataContractBase
Public Class Error
Inherits DataContractBase
Inheritance
Attributes

Constructors

Error()

初始化 Error 类的新实例。Initializes a new instance of the Error class.

Properties

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.

(Inherited from DataContractBase)

Applies to