共用方式為


SPDataSourceMigratorException constructor (String, Exception)

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

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

Syntax

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

Dim instance As New SPDataSourceMigratorException(message, _
    ex)
public SPDataSourceMigratorException(
    string message,
    Exception ex
)

參數

請參閱

參照

SPDataSourceMigratorException class

SPDataSourceMigratorException members

SPDataSourceMigratorException overload

Microsoft.SharePoint.Upgrade namespace