共用方式為


SPFeatureUpgradeFatalErrorException constructor (String, Exception)

初始化具有指定的錯誤訊息,並且會造成目前例外狀況的內部例外狀況之SPFeatureUpgradeFatalErrorException類別的新執行個體。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'用途
Dim message As String
Dim innerException As Exception

Dim instance As New SPFeatureUpgradeFatalErrorException(message, _
    innerException)
public SPFeatureUpgradeFatalErrorException(
    string message,
    Exception innerException
)

參數

  • innerException
    Type: System.Exception

    內部例外狀況,造成目前例外狀況。

請參閱

參照

SPFeatureUpgradeFatalErrorException class

SPFeatureUpgradeFatalErrorException members

SPFeatureUpgradeFatalErrorException overload

Microsoft.SharePoint namespace