Partager via


InvalidDatabaseStateForExtractException Constructor (, )

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

'Déclaration
Public Sub New ( _
    databaseName As String, _
    innerException As Exception _
)
'Utilisation
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: String
    A String which contains the name of the database to associate with the exception.
  • innerException
    Type: 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