HierarchyIdException 클래스

The exception that is thrown for invalid SqlHierarchyId values.

상속 계층

System.Object
  System.Exception
    Microsoft.SqlServer.Types.HierarchyIdException

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

구문

‘선언
<SerializableAttribute> _
<CLSCompliantAttribute(True)> _
Public Class HierarchyIdException _
    Inherits Exception
‘사용 방법
Dim instance As HierarchyIdException
[SerializableAttribute]
[CLSCompliantAttribute(true)]
public class HierarchyIdException : Exception
[SerializableAttribute]
[CLSCompliantAttribute(true)]
public ref class HierarchyIdException : public Exception
[<SerializableAttribute>]
[<CLSCompliantAttribute(true)>]
type HierarchyIdException =  
    class 
        inherit Exception 
    end
public class HierarchyIdException extends Exception

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

생성자

  이름 설명
공용 메서드 HierarchyIdException() Initializes a new instance of the HierarchyIdException class.
공용 메서드 HierarchyIdException(String) Initializes a new instance of the HierarchyIdException class with a custom error message.
보호된 메서드 HierarchyIdException(SerializationInfo, StreamingContext) Initializes a new instance of the HierarchyIdException class with serialized data.
공용 메서드 HierarchyIdException(String, Exception) Initializes a new instance of the HierarchyIdExceptionclass with a custom error message and the triggering exception object.

맨 위로 이동

속성

  이름 설명
공용 속성 Data (Exception에서 상속됨)
공용 속성 HelpLink (Exception에서 상속됨)
공용 속성 HResult (Exception에서 상속됨)
공용 속성 InnerException (Exception에서 상속됨)
공용 속성 Message (Exception에서 상속됨)
공용 속성 Source (Exception에서 상속됨)
공용 속성 StackTrace (Exception에서 상속됨)
공용 속성 TargetSite (Exception에서 상속됨)

맨 위로 이동

메서드

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

맨 위로 이동

이벤트

  이름 설명
보호된 이벤트 SerializeObjectState (Exception에서 상속됨)

맨 위로 이동

주의

The HierarchyIdException exception is thrown when a value that is not a SqlHierarchyId type is passed to a method that expects a SqlHierarchyId type.

For more information, see hierarchyid 데이터 작업.

스레드 보안

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

참고 항목

참조

Microsoft.SqlServer.Types 네임스페이스