FailedOperationException 클래스

The FailedOperationException class represents the exception raised when an operation fails. Failed database operations include CREATE, DROP, ALTER, SCRIPT, REFRESH, RENAME. This exception can also be raised when some of the public methods in SMO fail.

상속 계층

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Smo.SmoException
        Microsoft.SqlServer.Management.Smo.FailedOperationException

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

구문

‘선언
<SerializableAttribute> _
Public NotInheritable Class FailedOperationException _
    Inherits SmoException
‘사용 방법
Dim instance As FailedOperationException
[SerializableAttribute]
public sealed class FailedOperationException : SmoException
[SerializableAttribute]
public ref class FailedOperationException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type FailedOperationException =  
    class 
        inherit SmoException 
    end
public final class FailedOperationException extends SmoException

FailedOperationException 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 FailedOperationException() Initializes a new instance of the FailedOperationException class.
공용 메서드 FailedOperationException(String) Initializes a new instance of the FailedOperationException class that has the specified message.
공용 메서드 FailedOperationException(String, Exception) Initializes a new instance of the FailedOperationException class that has the specified message and inner exception.
공용 메서드 FailedOperationException(String, Object, Exception) Initializes a new instance of the FailedOperationException class with the specified object on which the specified operation failed and that has the specified inner exception.
공용 메서드 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.

맨 위로 이동

속성

  이름 설명
공용 속성 Data (Exception에서 상속됨)
공용 속성 FailedObject Gets or sets the object on which the operation failed.
공용 속성 HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (SmoException에서 상속됨)
공용 속성 HResult (Exception에서 상속됨)
공용 속성 InnerException (Exception에서 상속됨)
공용 속성 Message Gets the message text that explains the exception. (Exception.Message을(를) 재정의함)
공용 속성 Operation Gets or sets the operation that failed.
공용 속성 SmoExceptionType Gets the exception type. (SmoException.SmoExceptionType을(를) 재정의함)
공용 속성 Source (Exception에서 상속됨)
공용 속성 StackTrace (Exception에서 상속됨)
공용 속성 TargetSite (Exception에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetBaseException (Exception에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetObjectData Override based on the virtual SerializationInfo method GetObjectData. (Exception.GetObjectData(SerializationInfo, StreamingContext)을(를) 재정의함)
공용 메서드 GetType (Exception에서 상속됨)
보호된 메서드 SetHelpContext Sets the Help context value for the referenced exception. (SmoException에서 상속됨)
공용 메서드 ToString (Exception에서 상속됨)

맨 위로 이동

주의

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

SMO 예외 처리

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

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