Share via


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