DtsNotAConnectionException 클래스

The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the correct type.

상속 계층

System.Object
  System.Exception
    Microsoft.SqlServer.Dts.Runtime.DtsException
      Microsoft.SqlServer.Dts.Runtime.DtsNotAConnectionException

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

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

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

속성

  이름 설명
공용 속성 Data (Exception에서 상속됨)
공용 속성 ErrorCode Gets the error code that creates the appropriate exception class. This field is read-only. (DtsException에서 상속됨)
공용 속성 HelpLink (Exception에서 상속됨)
공용 속성 HResult (Exception에서 상속됨)
공용 속성 InnerException (Exception에서 상속됨)
공용 속성 Message (Exception에서 상속됨)
공용 속성 Source (Exception에서 상속됨)
공용 속성 StackTrace (Exception에서 상속됨)
공용 속성 TargetSite (Exception에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetBaseException (Exception에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetObjectData 보안에 중요합니다. (Exception에서 상속됨)
공용 메서드 GetType (Exception에서 상속됨)
공용 메서드 ToString (Exception에서 상속됨)

맨 위로 이동

주의

This error is not useable in a try...catch block.

스레드 보안

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

참고 항목

참조

Microsoft.SqlServer.Dts.Runtime 네임스페이스