Share via


DataServiceClientException.StatusCode 属性

定义

获取在 DataServiceClientException 后返回的 HTTP 错误状态代码。

public:
 property int StatusCode { int get(); };
public int StatusCode { get; }
member this.StatusCode : int
Public ReadOnly Property StatusCode As Integer

属性值

表示异常的整数值。

适用于