PeerObject::GetObjectData Method (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Populates a SerializationInfo with the data required to serialize the specified PeerObject.
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^
The SerializationInfo instance to populate with data.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
The destination for the serialization.
A derived type must call the base type GetObjectData method.
.NET Framework
Available since 3.5
Available since 3.5
Show: