PeerNearMe.GetObjectData Method (SerializationInfo, StreamingContext)

 

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

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

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

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

The SerializationInfo to populate with data.

context
Type: System.Runtime.Serialization.StreamingContext

The destination for the serialization.

.NET Framework
Available since 3.5
Return to top
Show: