HierarchyIdException-Klasse
The exception that is thrown for invalid SqlHierarchyId values.
Vererbungshierarchie
System.Object
System.Exception
Microsoft.SqlServer.Types.HierarchyIdException
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
<SerializableAttribute> _
<CLSCompliantAttribute(True)> _
Public Class HierarchyIdException _
Inherits Exception
'Usage
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
Der HierarchyIdException-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
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. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Data | (Geerbt von Exception.) | |
HelpLink | (Geerbt von Exception.) | |
HResult | (Geerbt von Exception.) | |
InnerException | (Geerbt von Exception.) | |
Message | (Geerbt von Exception.) | |
Source | (Geerbt von Exception.) | |
StackTrace | (Geerbt von Exception.) | |
TargetSite | (Geerbt von Exception.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetBaseException | (Geerbt von Exception.) | |
GetHashCode | (Geerbt von Object.) | |
GetObjectData | Sicherheitskritisch (Geerbt von Exception.) | |
GetType | (Geerbt von Exception.) | |
MemberwiseClone | (Geerbt von Object.) | |
ToString | (Geerbt von Exception.) |
Zum Anfang
Ereignisse
Name | Beschreibung | |
---|---|---|
SerializeObjectState | (Geerbt von Exception.) |
Zum Anfang
Hinweise
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 Arbeiten mit hierarchyid-Daten.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.