Share via


SPException constructor (String, Int32)

This member is reserved for internal use and is not intended to be used directly from your code.

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

Syntax

'Declaration
Public Sub New ( _
    strMessage As String, _
    errorCode As Integer _
)
'Usage
Dim strMessage As String
Dim errorCode As Integer

Dim instance As New SPException(strMessage, _
    errorCode)
public SPException(
    string strMessage,
    int errorCode
)

Parameters

See also

Reference

SPException class

SPException members

SPException overload

Microsoft.SharePoint namespace