PeerNameRegistration.GetObjectData Method (SerializationInfo, StreamingContext)

 

Populates a serialization information object with the data needed to serialize the PeerNameRegistration instance.

Namespace:   System.Net.PeerToPeer
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

Holds the serialized data associated with the PeerNameRegistration object.

context
Type: System.Runtime.Serialization.StreamingContext

Contains destination for the serialized stream associated with the PeerNameRegistration object.

.NET Framework
Available since 3.5
Return to top
Show: