Share via


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 命名空间