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

PeerName.ISerializable.GetObjectData Method (SerializationInfo, StreamingContext)


Implements the ISerializable interface and returns the data needed to serialize the PeerName instance.

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

[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter, 
	SerializationFormatter = true)]
void ISerializable.GetObjectData(
	SerializationInfo info,
	StreamingContext context


Type: System.Runtime.Serialization.SerializationInfo

Holds the serialized data associated with the PeerName object.

Type: System.Runtime.Serialization.StreamingContext

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

This method does not return a value.

.NET Framework
Available since 3.5
Return to top
© 2016 Microsoft