Share via


SPException.ErrorCode property

Gets an integer that identifies the exception.

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

Syntax

'Declaration
Public Property ErrorCode As Integer
    Get
    Friend Set
'Usage
Dim instance As SPException
Dim value As Integer

value = instance.ErrorCode
public int ErrorCode { get; internal set; }

Property value

Type: System.Int32
A 32-bit integer that identifies the exception.

See also

Reference

SPException class

SPException members

Microsoft.SharePoint namespace