Redigera

Dela via


PeerContact.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

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

protected:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Protected Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Holds the serialized data associated with the PeerContact object.

context
StreamingContext

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

Remarks

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

Applies to

See also