PeerContact.ISerializable.GetObjectData Method (SerializationInfo, StreamingContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

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

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

Holds the serialized data associated with the PeerContact object.

context
Type: System.Runtime.Serialization.StreamingContext

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

.NET Framework
Available since 3.5
Return to top
Show: