Freigeben über


HierarchyIdException-Konstruktor (SerializationInfo, StreamingContext)

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

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

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
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
)

Parameter

Hinweise

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

Siehe auch

Verweis

HierarchyIdException Klasse

HierarchyIdException-Überladung

Microsoft.SqlServer.Types-Namespace