Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the ForgottenKnowledge class by using serialized data.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.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 ForgottenKnowledge(info, context)
protected ForgottenKnowledge(
SerializationInfo info,
StreamingContext context
)
protected:
ForgottenKnowledge(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ForgottenKnowledge
protected function ForgottenKnowledge(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
Serialized object data for the forgotten knowledge.
- context
Type: System.Runtime.Serialization.StreamingContext
Contextual information about the stream source or destination.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | info is a null reference (Nothing in Visual Basic). |
| SerializationException | Data could not be read from info or the data format could not be determined. |