InvalidDatabaseStateForExtractException Constructor (String, Exception)

Initializes a new instance of the InvalidDatabaseStateForExtractException class that has 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 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
    A String which contains the name of the database to associate with the exception.
  • innerException
    Type: System.Exception
    An Exception object that contains the inner exception. This is used when one exception causes another exception to be raised.

See Also

Reference

InvalidDatabaseStateForExtractException Class

InvalidDatabaseStateForExtractException Overload

Microsoft.SqlServer.Management.Dac Namespace