Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
The exception that is thrown for invalid SqlHierarchyId values.
Hierarquia de herança
System.Object
System.Exception
Microsoft.SqlServer.Types.HierarchyIdException
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (em Microsoft.SqlServer.Types.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
<CLSCompliantAttribute(True)> _
Public Class HierarchyIdException _
Inherits Exception
'Uso
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
O tipo HierarchyIdException expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
![]() |
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. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
![]() |
Data | (Herdado de Exception.) |
![]() |
HelpLink | (Herdado de Exception.) |
![]() |
HResult | (Herdado de Exception.) |
![]() |
InnerException | (Herdado de Exception.) |
![]() |
Message | (Herdado de Exception.) |
![]() |
Source | (Herdado de Exception.) |
![]() |
StackTrace | (Herdado de Exception.) |
![]() |
TargetSite | (Herdado de Exception.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
![]() |
Equals | (Herdado de Object.) |
![]() |
Finalize | (Herdado de Object.) |
![]() |
GetBaseException | (Herdado de Exception.) |
![]() |
GetHashCode | (Herdado de Object.) |
![]() |
GetObjectData | Segurança crítica. (Herdado de Exception.) |
![]() |
GetType | (Herdado de Exception.) |
![]() |
MemberwiseClone | (Herdado de Object.) |
![]() |
ToString | (Herdado de Exception.) |
Início
Eventos
Nome | Descrição | |
---|---|---|
![]() |
SerializeObjectState | (Herdado de Exception.) |
Início
Comentários
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 Trabalhando com dados hierarchyid.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.