Edit

Share via


IPeerResolverContract.Register(RegisterInfo) Method

Definition

Registers a peer node with the custom peer resolver service.

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

Parameters

registerInfo
RegisterInfo

RegisterInfo that contains information about the peer node to register with the peer resolver service.

Returns

RegisterResponseInfo that contains a copy of the entry added to the peer resolver service's registration lookup table.

Attributes

Remarks

This method is used to add a peer node's registration information to the lookup table used by the peer resolver service.

Applies to