IPeerResolverContract.Refresh(RefreshInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈