HierarchyIdException Class
The exception that is thrown for invalid SqlHierarchyId values.
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
| Name | Description | |
|---|---|---|
![]() | HierarchyIdException() | Initializes a new instance of the HierarchyIdException class. |
![]() | HierarchyIdException(SerializationInfo^, StreamingContext) | Initializes a new instance of the HierarchyIdException class with serialized data. |
![]() | HierarchyIdException(String^) | Initializes a new instance of the HierarchyIdException class with a custom error message. |
![]() | HierarchyIdException(String^, Exception^) | Initializes a new instance of the HierarchyIdExceptionclass with a custom error message and the triggering exception object. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | (Inherited from Exception.) |
![]() | GetType() | (Inherited from Exception.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from 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.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



