Share via


Constructeur FailedOperationException (String, String, String, Exception)

Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the two specified types.

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    operation As String, _
    failedObjectName As String, _
    failedObjectType As String, _
    innerException As Exception _
)
'Utilisation
Dim operation As String
Dim failedObjectName As String
Dim failedObjectType As String
Dim innerException As Exception

Dim instance As New FailedOperationException(operation, _
    failedObjectName, failedObjectType, _
    innerException)
public FailedOperationException(
    string operation,
    string failedObjectName,
    string failedObjectType,
    Exception innerException
)
public:
FailedOperationException(
    String^ operation, 
    String^ failedObjectName, 
    String^ failedObjectType, 
    Exception^ innerException
)
new : 
        operation:string * 
        failedObjectName:string * 
        failedObjectType:string * 
        innerException:Exception -> FailedOperationException
public function FailedOperationException(
    operation : String, 
    failedObjectName : String, 
    failedObjectType : String, 
    innerException : Exception
)

Paramètres

  • failedObjectName
    Type : System. . :: . .String
    A String value that specifies the name of the object that is associated with the operation.
  • failedObjectType
    Type : System. . :: . .String
    A String value that specifies the type of the object that is associated with the operation.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.