Bewerken

Share via


PeerObject.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Populates a SerializationInfo with the data required to serialize the specified PeerObject.

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

Parameters

info
SerializationInfo

The SerializationInfo instance to populate with data.

context
StreamingContext

The destination for the serialization.

Remarks

A derived type must call the base type GetObjectData method.

Applies to

See also