Share via


ExceptionHandlingScope.ServerErrorCode Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  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