GetObjectData Method
Collapse the table of content
Expand the table of content

PeerEndPoint.GetObjectData Method (SerializationInfo, StreamingContext)


Populates a SerializationInfo class instance with the data required to serialize the specified PeerObject instance. A derived type must call the base type GetObjectData method.

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


Type: System.Runtime.Serialization.SerializationInfo

The SerializationInfo to populate with data.

Type: System.Runtime.Serialization.StreamingContext

The destination for the serialization.

.NET Framework
Available since 3.5
Return to top
© 2016 Microsoft