Udostępnij przez


FailedOperationException Constructor (String, String, String, Exception)

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

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

Syntax

'Deklaracja
Public Sub New ( _
    operation As String, _
    failedObjectName As String, _
    failedObjectType As String, _
    innerException As Exception _
)
public FailedOperationException (
    string operation,
    string failedObjectName,
    string failedObjectType,
    Exception innerException
)
public:
FailedOperationException (
    String^ operation, 
    String^ failedObjectName, 
    String^ failedObjectType, 
    Exception^ innerException
)
public FailedOperationException (
    String operation, 
    String failedObjectName, 
    String failedObjectType, 
    Exception innerException
)
public function FailedOperationException (
    operation : String, 
    failedObjectName : String, 
    failedObjectType : String, 
    innerException : Exception
)

Parameters

  • operation
    A String value that specifies the operation that failed.
  • failedObjectName
    A String value that specifies the name of the object that is associated with the operation.
  • failedObjectType
    A String value that specifies the type of the object that is associated with the operation.
  • innerException
    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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2), Windows 2000 Professional, Windows 2000 Advanced Server, Windows XP Home Edition, For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server., Windows Vista, Windows Mobile 5.0, Windows Mobile 2003 for Pocket PC, Windows CE 5.0