Uređivanje

Dijeli putem


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
[<System.Serializable>]
type PeerNameRecord = class
    interface ISerializable
Public Class PeerNameRecord
Implements ISerializable
Inheritance
PeerNameRecord
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()

Initializes a new default instance of the PeerNameRecord class.

PeerNameRecord(SerializationInfo, StreamingContext)

Initializes a new default instance of the PeerNameRecord class.

Properties

Comment

Gets or sets additional information about the PeerNameRecord object.

Data

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

EndPointCollection

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

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)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetObjectData(SerializationInfo, StreamingContext)

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

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

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

Applies to

See also