Share via


FailedOperationException 생성자 (String, Object, Exception, String)

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub New ( _
    operation As String, _
    failedObject As Object, _
    innerException As Exception, _
    reason As String _
)
‘사용 방법
Dim operation As String 
Dim failedObject As Object 
Dim innerException As Exception 
Dim reason As String 

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

매개 변수

  • failedObject
    유형: System.Object
    An Object system object value that specifies the object on which the operation failed.
  • innerException
    유형: System.Exception
    An Exception system object value that specifies the inner exception for the Failed Operation exception.
  • reason
    유형: System.String
    A String value that specifies the reason why the exception occurred.

SMO 예외 처리

참고 항목

참조

FailedOperationException 클래스

FailedOperationException 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스