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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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