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
- info
Typ: System.Runtime.Serialization.SerializationInfo
An object that contains the serialized object data about the exception that is thrown.
- context
Typ: System.Runtime.Serialization.StreamingContext
An object that contains the contextual information about the source or destination
Hinweise
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.