Udostępnij za pośrednictwem


OperationResponse.Error Property

Gets error thrown by the operation.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
Public Property Error As Exception 
    Get 
    Set
'Usage
Dim instance As OperationResponse 
Dim value As Exception 

value = instance.Error

instance.Error = value
public Exception Error { get; set; }
public:
property Exception^ Error {
    Exception^ get ();
    void set (Exception^ value);
}
member Error : Exception with get, set
function get Error () : Exception 
function set Error (value : Exception)

Property Value

Type: System.Exception
An Exception object that contains the error.

Remarks

This property is null if no errors are found.

See Also

Reference

OperationResponse Class

System.Data.Services.Client Namespace