Share via


SPUpgradeCompatibilityException constructor (String, Exception)

Initializes a new instance of the SPUpgradeCompatibilityException 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 SPUpgradeCompatibilityException(msg, rootCause)
public SPUpgradeCompatibilityException(
    string msg,
    Exception rootCause
)

Parameters

See also

Reference

SPUpgradeCompatibilityException class

SPUpgradeCompatibilityException members

SPUpgradeCompatibilityException overload

Microsoft.SharePoint.Upgrade namespace