共用方式為


Error.Context 屬性

Gets or sets the object context of the error, if applicable.

命名空間:  Microsoft.MasterDataServices.Services.DataContracts
組件:  Microsoft.MasterDataServices.Services.Contracts (在 Microsoft.MasterDataServices.Services.Contracts.dll 中)

語法

'宣告
<DataMemberAttribute(IsRequired := False)> _
Public Property Context As ErrorContext 
    Get 
    Set
'用途
Dim instance As Error 
Dim value As ErrorContext 

value = instance.Context

instance.Context = value
[DataMemberAttribute(IsRequired = false)]
public ErrorContext Context { get; set; }
[DataMemberAttribute(IsRequired = false)]
public:
property ErrorContext^ Context {
    ErrorContext^ get ();
    void set (ErrorContext^ value);
}
[<DataMemberAttribute(IsRequired = false)>]
member Context : ErrorContext with get, set
function get Context () : ErrorContext 
function set Context (value : ErrorContext)

屬性值

型別:Microsoft.MasterDataServices.Services.DataContracts.ErrorContext
The object context of the error, if applicable.

請參閱

參考

Error 類別

Microsoft.MasterDataServices.Services.DataContracts 命名空間