Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
The exception that is thrown for invalid SqlHierarchyId values.
Hiérarchie d'héritage
System.Object
System.Exception
Microsoft.SqlServer.Types.HierarchyIdException
Espace de noms : Microsoft.SqlServer.Types
Assembly : Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
<CLSCompliantAttribute(True)> _
Public Class HierarchyIdException _
Inherits Exception
'Utilisation
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
Le type HierarchyIdException expose les membres suivants.
Constructeurs
| Nom | Description | |
|---|---|---|
![]() |
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. |
Haut de la page
Propriétés
| Nom | Description | |
|---|---|---|
![]() |
Data | (hérité de Exception.) |
![]() |
HelpLink | (hérité de Exception.) |
![]() |
HResult | (hérité de Exception.) |
![]() |
InnerException | (hérité de Exception.) |
![]() |
Message | (hérité de Exception.) |
![]() |
Source | (hérité de Exception.) |
![]() |
StackTrace | (hérité de Exception.) |
![]() |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
| Nom | Description | |
|---|---|---|
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetBaseException | (hérité de Exception.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetObjectData | Informations critiques de sécurité. (hérité de Exception.) |
![]() |
GetType | (hérité de Exception.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | (hérité de Exception.) |
Haut de la page
Événements
| Nom | Description | |
|---|---|---|
![]() |
SerializeObjectState | (hérité de Exception.) |
Haut de la page
Notes
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 Utilisation du type de données hierarchyid.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
.gif)
.gif)
.gif)
.gif)