Конструктор FailedOperationException (String, String, String, Exception)

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

Пространство имен:  Microsoft.SqlServer.Management.Dmf
Сборка:  Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)

Синтаксис

'Декларация
Public Sub New ( _
    operation As String, _
    failedObjectName As String, _
    failedObjectType As String, _
    innerException As Exception _
)
'Применение
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
)

Параметры

  • failedObjectName
    Тип: System.String
    A String value that specifies the name of the object that is associated with the operation.
  • failedObjectType
    Тип: System.String
    A String value that specifies the type of the object that is associated with the operation.
  • innerException
    Тип: System.Exception
    A String value that specifies the second type that is associated with the exception.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Примеры

Обработка исключений SMO

См. также

Справочник

FailedOperationException Класс

Перегрузка FailedOperationException

Пространство имен Microsoft.SqlServer.Management.Dmf