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
msg
Type: System.StringA string that contains the message.
rootCause
Type: System.ExceptionA System.Exception object that represents the exception.