Rediger

Del via


PeerName.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Populates a serialization information object with the data needed to serialize the PeerName.

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

Holds the serialized data associated with the PeerName object.

context
StreamingContext

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

Remarks

A derived type must call the base type GetObjectData method.

Applies to

See also