ForgottenKnowledge::GetObjectData Method

Serializes the forgotten knowledge to the specified SerializationInfo object.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
public:
virtual void GetObjectData(
	SerializationInfo^ info, 
	StreamingContext context
) override

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo
The SerializationInfo object to receive the forgotten knowledge object data.
context
Type: System.Runtime.Serialization::StreamingContext
Contextual information about the stream.

Implements

ISerializable::GetObjectData(SerializationInfo, StreamingContext)
ISerializable::GetObjectData(SerializationInfo, StreamingContext)

ExceptionCondition
InvalidOperationException

This ForgottenKnowledge object is not initialized.

ArgumentNullException

info is a nullptr.

Show: