IPeerResolverContract.Register(RegisterInfo) 方法

定义

利用自定义对等解析程序服务注册对等节点。

public:
 System::ServiceModel::PeerResolvers::RegisterResponseInfo ^ Register(System::ServiceModel::PeerResolvers::RegisterInfo ^ registerInfo);
[System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/Register", IsOneWay=false, Name="Register", ReplyAction="http://schemas.microsoft.com/net/2006/05/peer/resolver/RegisterResponse")]
public System.ServiceModel.PeerResolvers.RegisterResponseInfo Register (System.ServiceModel.PeerResolvers.RegisterInfo registerInfo);
[<System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/Register", IsOneWay=false, Name="Register", ReplyAction="http://schemas.microsoft.com/net/2006/05/peer/resolver/RegisterResponse")>]
abstract member Register : System.ServiceModel.PeerResolvers.RegisterInfo -> System.ServiceModel.PeerResolvers.RegisterResponseInfo
Public Function Register (registerInfo As RegisterInfo) As RegisterResponseInfo

参数

registerInfo
RegisterInfo

RegisterInfo,包含要向对等解析程序服务注册的对等节点相关信息。

返回

RegisterResponseInfo

包含添加到对等解析程序服务的注册查找表中的项的复本的 RegisterResponseInfo

属性

注解

此方法用于将对等节点的注册信息添加到对等解析程序服务所使用的查找表中。

适用于