PeerName::GetObjectData Method (SerializationInfo^, StreamingContext)

 

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

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

protected:
[SecurityPermissionAttribute(SecurityAction::LinkDemand, SerializationFormatter = true)]
virtual void GetObjectData(
	SerializationInfo^ info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo^

Holds the serialized data associated with the PeerName object.

context
Type: System.Runtime.Serialization::StreamingContext

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

A derived type must call the base type GetObjectData method.

.NET Framework
Available since 3.5
Return to top
Show: