Compartilhar via


Construtor HierarchyIdException (SerializationInfo, StreamingContext)

Initializes a new instance of the HierarchyIdException class with serialized data.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (em Microsoft.SqlServer.Types.dll)

Sintaxe

'Declaração
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Uso
Dim info As SerializationInfo 
Dim context As StreamingContext 

Dim instance As New HierarchyIdException(info, context)
protected HierarchyIdException(
    SerializationInfo info,
    StreamingContext context
)
protected:
HierarchyIdException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> HierarchyIdException
protected function HierarchyIdException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parâmetros

Comentários

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

Consulte também

Referência

HierarchyIdException Classe

Sobrecarregado HierarchyIdException

Namespace Microsoft.SqlServer.Types