Constructeur FailedOperationException (String, Object, Exception)

Initializes a new instance of the FailedOperationException class with the specified object on which the specified operation failed and that has the specified inner exception.

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

Syntaxe

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

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

Paramètres

  • failedObject
    Type : System.Object
    An Object system object value that specifies the object on which the operation failed.
  • innerException
    Type : System.Exception
    An Exception system object value that specifies the inner exception for the Failed Operation exception.

Exemples

Gestion des exceptions SMO

Voir aussi

Référence

FailedOperationException Classe

Surcharge FailedOperationException

Espace de noms Microsoft.SqlServer.Management.Smo