Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
An object that contains the serialized object data about the exception that is thrown.
- context
Type: System.Runtime.Serialization.StreamingContext
An object that contains the contextual information about the source or destination
Remarks
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.