IPeerResolverContract.Refresh(RefreshInfo) Method

Definition

Refreshes the expiry for an entry in the peer resolver service's registration lookup table.

public:
 System::ServiceModel::PeerResolvers::RefreshResponseInfo ^ Refresh(System::ServiceModel::PeerResolvers::RefreshInfo ^ refreshInfo);
[System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/Refresh", IsOneWay=false, Name="Refresh", ReplyAction="http://schemas.microsoft.com/net/2006/05/peer/resolver/RefreshResponse")]
public System.ServiceModel.PeerResolvers.RefreshResponseInfo Refresh (System.ServiceModel.PeerResolvers.RefreshInfo refreshInfo);
[<System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/Refresh", IsOneWay=false, Name="Refresh", ReplyAction="http://schemas.microsoft.com/net/2006/05/peer/resolver/RefreshResponse")>]
abstract member Refresh : System.ServiceModel.PeerResolvers.RefreshInfo -> System.ServiceModel.PeerResolvers.RefreshResponseInfo
Public Function Refresh (refreshInfo As RefreshInfo) As RefreshResponseInfo

Parameters

refreshInfo
RefreshInfo

RefreshInfo object that contains the mesh ID and the registration ID of the entry to refresh in the peer resolver service's registration lookup table.

Returns

RefreshResponseInfo that contains the newly refreshed registration entry.

Attributes

Remarks

A "refresh" of an entry is implemented by updating the supplied entry's expiry timestamp. All information used to uniquely identify the entry must be supplied in the RefreshInfo object supplied to this method.

Applies to