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

PeerApplication.GetObjectData Method (SerializationInfo, StreamingContext)

 

Populates a SerializationInfo with the data needed to serialize the target PeerApplication.

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 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:
© 2016 Microsoft