Bewerken

Share via


PeerNameRegistration.GetObjectData Method

Definition

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

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 PeerNameRegistration object.

context
StreamingContext

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

Applies to