Share via


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