Share via


InvalidDatabaseExtractException Constructor (String, Exception)

Initializes a new instance of the DacExtractionException class with the specified database name and inner exception.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Sub New ( _
    databaseName As String, _
    innerException As Exception _
)
'Usage
Dim databaseName As String
Dim innerException As Exception

Dim instance As New InvalidDatabaseExtractException(databaseName, _
    innerException)
public InvalidDatabaseExtractException(
    string databaseName,
    Exception innerException
)
public:
InvalidDatabaseExtractException(
    String^ databaseName, 
    Exception^ innerException
)
new : 
        databaseName:string * 
        innerException:Exception -> InvalidDatabaseExtractException
public function InvalidDatabaseExtractException(
    databaseName : String, 
    innerException : Exception
)

Parameters

  • databaseName
    Type: System.String
    A String value that specifies the name of the invalid database.
  • innerException
    Type: System.Exception
    An Exception object that contains the inner exception. This is used when one exception causes another exception to be raised.