PeerApplication::ISerializable::GetObjectData Method (SerializationInfo^, StreamingContext)

 

Implements the ISerializable interface and returns the data required to serialize the target PeerApplication.

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

private:
[SecurityCriticalAttribute]
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::SerializationFormatter, 
	SerializationFormatter = true)]
virtual void GetObjectData(
	SerializationInfo^ info,
	StreamingContext context
) sealed = ISerializable::GetObjectData

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo^

The SerializationInfo object to populate with data.

context
Type: System.Runtime.Serialization::StreamingContext

The destination for this serialization.

.NET Framework
Available since 3.5
Return to top
Show: