SPUpgradeCompatibilityException constructor (String, Exception)
初始化指定的錯誤訊息與根SPUpgradeCompatibilityException類別的新執行個體造成例外狀況。
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
msg As String, _
rootCause As Exception _
)
'用途
Dim msg As String
Dim rootCause As Exception
Dim instance As New SPUpgradeCompatibilityException(msg, rootCause)
public SPUpgradeCompatibilityException(
string msg,
Exception rootCause
)
參數
msg
Type: System.String包含訊息字串。
rootCause
Type: System.Exception根目錄造成例外狀況。
請參閱
參照
SPUpgradeCompatibilityException class
SPUpgradeCompatibilityException members