Condividi tramite


WebResponseInfo.StatusCode property

Gets or sets the status code of the HTTP response.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property StatusCode As Integer
    Get
    Set
'Usage
Dim instance As WebResponseInfo
Dim value As Integer

value = instance.StatusCode

instance.StatusCode = value
public int StatusCode { get; set; }

Property value

Type: System.Int32
The status code of the HTTP response.

See also

Reference

WebResponseInfo class

WebResponseInfo members

Microsoft.SharePoint.Client namespace