แก้ไข

แชร์ผ่าน


RegisterInfo Class

Definition

Defines the peer registration information to be supplied to a peer resolver service.

public ref class RegisterInfo
[System.ServiceModel.MessageContract(IsWrapped=false)]
public class RegisterInfo
[<System.ServiceModel.MessageContract(IsWrapped=false)>]
type RegisterInfo = class
Public Class RegisterInfo
Inheritance
RegisterInfo
Attributes

Remarks

This class defines the information used to register the tuple of a peer node and a mesh ID with a peer resolver service. This information is inserted as an entry in the registration lookup table of the resolver service, which can be queried by other peers for the endpoint addresses of the inserted peer.

Instances of this class are created when Register (or an implementation of Register) is called to register with a peer resolver service. They are primarily used to pass registration request information to a peer resolver service from a network client of that service.

Constructors

RegisterInfo()

Initializes a new default instance of the RegisterInfo class.

RegisterInfo(Guid, String, PeerNodeAddress)

Initializes a new instance of the RegisterInfo class with the supplied client ID, mesh ID, and endpoint address(es).

Properties

ClientId

Gets a Guid that uniquely identifies the registration entry for a peer node.

MeshId

Gets a mesh ID associated with the registration entry.

NodeAddress

Gets the endpoint address(es) to associate with the node that is registering with the resolver service.

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)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
HasBody()

Indicates whether the body of the message containing a serialized instance of this type is correctly formed.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to