IPeerResolverContract.Refresh(RefreshInfo) Método
Definição
Atualiza a expiração de uma entrada na tabela de pesquisa de registro do serviço resolvedor de pares.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
Parâmetros
- refreshInfo
- RefreshInfo
Objeto RefreshInfo que contém a ID de malha e a ID de registro da entrada a serem atualizadas na tabela de pesquisa de registro do serviço de resolvedor de pares.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.
Retornos
RefreshResponseInfo que contém a entrada de registro recém-atualizada.RefreshResponseInfo that contains the newly refreshed registration entry.
- Atributos
Comentários
Uma "atualização" de uma entrada é implementada atualizando o carimbo de data/hora de expiração da entrada fornecida.A "refresh" of an entry is implemented by updating the supplied entry's expiry timestamp. Todas as informações usadas para identificar exclusivamente a entrada devem ser fornecidas no RefreshInfo objeto fornecido para esse método.All information used to uniquely identify the entry must be supplied in the RefreshInfo object supplied to this method.