SPUpgradeException Constructor (String, Exception)

Initializes a new instance of the SPUpgradeException class with the specified error message and root cause exception.

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

Syntax

'Declaration
Public Sub New ( _
    msg As String, _
    rootCause As Exception _
)
'Usage
Dim msg As String
Dim rootCause As Exception

Dim instance As New SPUpgradeException(msg, rootCause)
public SPUpgradeException(
    string msg,
    Exception rootCause
)

Parameters

  • rootCause
    Type: System.Exception

    A System.Exception object that represents the exception.

See Also

Reference

SPUpgradeException Class

SPUpgradeException Members

SPUpgradeException Overload

Microsoft.SharePoint.Upgrade Namespace