HierarchyIdException Class

Definition

The exception that is thrown for invalid SqlHierarchyId values.

[System.CLSCompliant(true)]
[System.Serializable]
public class HierarchyIdException : Exception
[<System.CLSCompliant(true)>]
[<System.Serializable>]
type HierarchyIdException = class
    inherit Exception
Public Class HierarchyIdException
Inherits Exception
Inheritance
HierarchyIdException
Attributes

Constructors

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, Exception)

Initializes a new instance of the HierarchyIdExceptionclass with a custom error message and the triggering exception object.

HierarchyIdException(String)

Initializes a new instance of the HierarchyIdException class with a custom error message.

Applies to