PeerNameRecord PeerNameRecord PeerNameRecord PeerNameRecord Class

Definition

Defines the set of values that form a peer name record object. This record includes items such as the peer name and the collection of endpoints with which it communicates. Peer name records are used to define the individual peer nodes within a Cloud.

public ref class PeerNameRecord : System::Runtime::Serialization::ISerializable
[System.Serializable]
public class PeerNameRecord : System.Runtime.Serialization.ISerializable
type PeerNameRecord = class
    interface ISerializable
Public Class PeerNameRecord
Implements ISerializable
Inheritance
PeerNameRecordPeerNameRecordPeerNameRecordPeerNameRecord
Attributes
Implements

Remarks

PeerNameRecord objects are used to define individual nodes or peers within a Cloud. A peer name record object encapsulates all information published about a peer into a PNRP Cloud, including its name. The PeerNameRecord class is designed for use with the PeerNameResolver class.

Constructors

PeerNameRecord() PeerNameRecord() PeerNameRecord() PeerNameRecord()

Initializes a new default instance of the PeerNameRecord class.

PeerNameRecord(SerializationInfo, StreamingContext) PeerNameRecord(SerializationInfo, StreamingContext) PeerNameRecord(SerializationInfo, StreamingContext) PeerNameRecord(SerializationInfo, StreamingContext)

Initializes a new default instance of the PeerNameRecord class.

Properties

Comment Comment Comment Comment

Gets or sets additional information about the PeerNameRecord object.

Data Data Data Data

Gets or sets application-defined binary data for the PeerNameRecord object.

EndPointCollection EndPointCollection EndPointCollection EndPointCollection

Gets an PeerEndPointCollection object that contains all the endpoints available to the peer associated with this PeerNameRecord object.

PeerName PeerName PeerName PeerName

Gets or sets the PeerName within this PeerNameRecord object. A peer name is a string used to identify a peer resource.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

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

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Implements the ISerializable interface and returns the data needed to serialize the PeerNameRecord instance.

Applies to

See also