PeerEndPoint.ISerializable.GetObjectData Method (SerializationInfo, StreamingContext)

 

Populates the current PeerEndPoint instance with the data obtained from the serialized source.

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

<SecurityCriticalAttribute>
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.SerializationFormatter,
	SerializationFormatter := True)>
Private Sub GetObjectData (
	info As SerializationInfo,
	context As StreamingContext
)
	Implements ISerializable.GetObjectData

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: