Share via


ServerException.ServerErrorCode property

Gets the server error code.

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

Syntax

'Declaration
Public ReadOnly Property ServerErrorCode As Integer
    Get
'Usage
Dim instance As ServerException
Dim value As Integer

value = instance.ServerErrorCode
public int ServerErrorCode { get; }

Property value

Type: System.Int32
The server error code.

See also

Reference

ServerException class

ServerException members

Microsoft.SharePoint.Client namespace