다음을 통해 공유


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 네임스페이스