Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PeerContact.GetObjectData Method

Populates a SerializationInfo object with the data needed to serialize the PeerContact.

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

[SecurityPermissionAttribute(SecurityAction.LinkDemand, SerializationFormatter = true)]
protected override void 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.

A derived type must call the GetObjectData method of the base type.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft