Share via


Error.Context Property

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

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<DataMemberAttribute(IsRequired := False)> _
Public Property Context As ErrorContext 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

Error Class

Microsoft.MasterDataServices.Services.DataContracts Namespace