WebResponseInfo.StatusCode 屬性
取得或設定 HTTP 回應的狀態碼。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public Property StatusCode As Integer
Get
Set
'用途
Dim instance As WebResponseInfo
Dim value As Integer
value = instance.StatusCode
instance.StatusCode = value
public int StatusCode { get; set; }
屬性值
類型:System.Int32
HTTP 回應的狀態碼。