IPeerResolverContract.Refresh(RefreshInfo) 方法

定义

刷新对等解析程序服务的注册查找表中的项的过期时间。

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

参数

refreshInfo
RefreshInfo

包含项的网络 ID 和注册 ID 的 RefreshInfo 对象,该项为对等解析程序注册查找表中的要刷新的项。

返回

RefreshResponseInfo

包含新刷新的注册项的 RefreshResponseInfo

属性

注解

项的“刷新”是通过更新所提供的项的过期时间戳实现的。 必须在提供给此方法的 RefreshInfo 对象中提供唯一标识项时要用到的所有信息。

适用于