共用方式為


SPUpgradeLockException constructor (String, Exception)

初始化指定的錯誤訊息與根SPUpgradeLockException類別的新執行個體造成例外狀況。

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 SPUpgradeLockException(msg, rootCause)
public SPUpgradeLockException(
    string msg,
    Exception rootCause
)

參數

請參閱

參照

SPUpgradeLockException class

SPUpgradeLockException members

SPUpgradeLockException overload

Microsoft.SharePoint.Upgrade namespace