ExceptionHandlingScope.ServerErrorCode property

Gets the error code that corresponds to the exception that occurred in the try scope.

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 ExceptionHandlingScope
Dim value As Integer

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

Property value

Type: System.Int32
The error code.

See also

Reference

ExceptionHandlingScope class

ExceptionHandlingScope members

Microsoft.SharePoint.Client namespace