Share via


InvalidDatabaseStateForExtractException Constructor (String, Exception)

Initializes a new instance of the InvalidDatabaseStateForExtractException class for a given database, a string describing the database state, and a reference to the inner exception that is the cause of this 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 InvalidDatabaseStateForExtractException(databaseName, _
    innerException)
public InvalidDatabaseStateForExtractException(
    string databaseName,
    Exception innerException
)
public:
InvalidDatabaseStateForExtractException(
    String^ databaseName, 
    Exception^ innerException
)
new : 
        databaseName:string * 
        innerException:Exception -> InvalidDatabaseStateForExtractException
public function InvalidDatabaseStateForExtractException(
    databaseName : String, 
    innerException : Exception
)

Parameters

  • databaseName
    Type: System.String
    The name of the invalid database.