语言

ErrorContext 类

定义

指定特定错误的上下文。

public ref class ErrorContext : Microsoft::MasterDataServices::Services::DataContracts::DataContractBase
[System.Runtime.Serialization.DataContract(Name="ErrorContext", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class ErrorContext : Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
[<System.Runtime.Serialization.DataContract(Name="ErrorContext", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type ErrorContext = class
    inherit DataContractBase
Public Class ErrorContext
Inherits DataContractBase
继承
ErrorContext
属性

注解

ErrorContext复类型指定了特定错误的上下文。 这种类型用于识别错误发生时作的对象。

构造函数

名称 说明
ErrorContext()

初始化 ErrorContext 类的新实例。

属性

名称 说明
FullyQualifiedName

用点符号指定上下文标识符的对象 FullyQualifiedName。

Identifier

指定错误的对象上下文标识符。

Type

指定上下文标识符的对象类型。

方法

名称 说明
SetProperty<T>(T, T, String, Boolean)

将属性更改为给定值。
返回新值是否与旧值不同。

(继承自 DataContractBase)
SetProperty<T>(T, T, String)

将属性更改为给定值。
返回新值是否与旧值不同。

(继承自 DataContractBase)

适用于