FailedOperationException Constructor (String, String, String, Exception)

 

Initializes a new instance of the T:Microsoft.SqlServer.Management.Dmf. ExceptionAlreadyRegisteredException class that has the two specified types.

Namespace:   Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

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 Sub New (
    operation As String,
    failedObjectName As String,
    failedObjectType As String,
    innerException As Exception
)

Parameters

  • 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.

  • innerException
    Type: System.Exception

    A String value that specifies the second type that is associated with the exception.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Exceptions

See Also

FailedOperationException Overload
FailedOperationException Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top