RegisterInfo 类

定义

定义要提供给对等解析程序服务的对等注册信息。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
type RegisterInfo = class
Public Class RegisterInfo
继承
RegisterInfo
属性

注解

此类所定义的信息用于利用对等解析程序服务注册对等节点和网络 ID 的元组。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.

此类的实例是在调用 Register(或 Register 的实现)以利用对等解析程序服务进行注册时创建的。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.

构造函数

RegisterInfo()

初始化 RegisterInfo 类的新默认实例。Initializes a new default instance of the RegisterInfo class.

RegisterInfo(Guid, String, PeerNodeAddress)

利用所提供的客户端 ID、网络 ID 和终结点地址初始化 RegisterInfo 类的新实例。Initializes a new instance of the RegisterInfo class with the supplied client ID, mesh ID, and endpoint address(es).

属性

ClientId

获取唯一标识对等节点的注册项的 GuidGets a Guid that uniquely identifies the registration entry for a peer node.

MeshId

获取与注册项关联的网络 ID。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.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
HasBody()

指示包含此类型的序列化实例的消息其正文格式是否正确。Indicates whether the body of the message containing a serialized instance of this type is correctly formed.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于