共用方式為


OperationResponse.Error 屬性

取得作業擲回的錯誤。

命名空間:  System.Data.Services.Client
組件:  Microsoft.Data.Services.Client (在 Microsoft.Data.Services.Client.dll 中)

語法

'宣告
Public Property Error As Exception
    Get
    Set
'用途
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)

屬性值

型別:System.Exception
包含錯誤的 Exception 物件。

備註

如果找不到任何錯誤,此屬性為 null。

請參閱

參考

OperationResponse 類別

System.Data.Services.Client 命名空間