Partilhar via


SPException.ErrorCode Property

Gets an integer that identifies the exception.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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