共用方式為


Context 屬性

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

命名空間:  Microsoft.MasterDataServices.Services.DataContracts
組件:  Microsoft.MasterDataServices.Services (在 Microsoft.MasterDataServices.Services.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)