共用方式為


SPDataSourceMigratorException Constructor (String, Exception)

Initializes a new instance of the SPDataSourceMigratorException 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 ( _
    message As String, _
    ex As Exception _
)
'Usage
Dim message As String
Dim ex As Exception

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

Parameters

  • message
    Type: System.String

    A string that contains the message.

See Also

Reference

SPDataSourceMigratorException Class

SPDataSourceMigratorException Members

SPDataSourceMigratorException Overload

Microsoft.SharePoint.Upgrade Namespace