Edit

Share via


PeerNameRecord Constructors

Definition

Initializes a new instance of the PeerNameRecord class.

Overloads

PeerNameRecord()

Initializes a new default instance of the PeerNameRecord class.

PeerNameRecord(SerializationInfo, StreamingContext)

Initializes a new default instance of the PeerNameRecord class.

Remarks

An object of type PeerNameRecord, whose name is the fully qualified name of the PeerName object within it.

PeerNameRecord()

Initializes a new default instance of the PeerNameRecord class.

public:
 PeerNameRecord();
public PeerNameRecord ();
Public Sub New ()

See also

Applies to

PeerNameRecord(SerializationInfo, StreamingContext)

Initializes a new default instance of the PeerNameRecord class.

protected:
 PeerNameRecord(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PeerNameRecord (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Net.PeerToPeer.PeerNameRecord : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.PeerToPeer.PeerNameRecord
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Reference to the object that holds the data needed to deserialize this instance.

context
StreamingContext

Context that provides the means for deserializing the data. Also referred to as the source of the serialized data.

Applies to