ResolveInfo 类
定义
定义对等解析程序服务进行注册项的终结点解析时要使用的信息。Defines the information for the endpoint resolution of a registration entry by a peer resolver service.
public ref class ResolveInfo
[System.ServiceModel.MessageContract(IsWrapped=false)]
public class ResolveInfo
[<System.ServiceModel.MessageContract(IsWrapped=false)>]
type ResolveInfo = class
Public Class ResolveInfo
- 继承
-
ResolveInfo
- 属性
注解
此类表示在向终结点请求服务已注册的特定对等节点时,从对等节点发送到对等解析程序服务的信息。This class represents information sent from a peer node to a peer resolver service when requesting the endpoints for a specific peer node registered with the service.
此类的实例主要用于从解析程序服务的网络客户端到该服务传递终结点解析信息。Instances of this class are primarily used to pass endpoint resolution information to the resolver service from a network client of that service.
构造函数
| ResolveInfo() |
初始化 ResolveInfo 类的新默认实例。Initializes a new default instance of the ResolveInfo class. |
| ResolveInfo(Guid, String, Int32) |
利用所提供的客户端 ID 和网络 ID、返回的终结点地址的最大数目初始化 ResolveInfo 类的新实例。Initializes a new instance of the ResolveInfo class with the provided client ID and mesh ID, as well as the maximum number of endpoint addresses to return. |
属性
| ClientId |
获取要解析的注册项的 ID。Gets the ID for the registration entry to resolve. |
| MaxAddresses |
获取解析操作要返回的客户端终结点地址的最大数目。Gets the maximum number of client endpoint addresses to be returned by the resolve operation. |
| MeshId |
获取将要解析其终结点地址的项的网络 ID。Gets the mesh ID for the entry whose endpoint addresses will be resolved. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets 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) |