PeerNameRecord Class

 

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.

Namespace:   System.Net.PeerToPeer
Assembly:  System.Net (in System.Net.dll)

System.Object
  System.Net.PeerToPeer.PeerNameRecord

[<SerializableAttribute>]
type PeerNameRecord = 
    class
        interface ISerializable
    end

NameDescription
System_CAPS_pubmethodPeerNameRecord()

Initializes a new default instance of the PeerNameRecord class.

System_CAPS_protmethodPeerNameRecord(SerializationInfo, StreamingContext)

Initializes a new default instance of the PeerNameRecord class.

NameDescription
System_CAPS_pubpropertyComment

Gets or sets additional information about the PeerNameRecord object.

System_CAPS_pubpropertyData

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

System_CAPS_pubpropertyEndPointCollection

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

System_CAPS_pubpropertyPeerName

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetObjectData(SerializationInfo, StreamingContext)

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

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

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

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.

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: