PeerObject.GetObjectData Method (SerializationInfo, StreamingContext)

 

Populates a SerializationInfo with the data required to serialize the specified PeerObject.

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

[SecurityPermissionAttribute(SecurityAction.LinkDemand, SerializationFormatter = true)]
protected virtual void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

The SerializationInfo instance to populate with data.

context
Type: System.Runtime.Serialization.StreamingContext

The destination for the serialization.

A derived type must call the base type GetObjectData method.

.NET Framework
Available since 3.5
Return to top
Show: