This documentation is archived and is not being maintained.

CustomPeerResolverService.Refresh Method

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

Namespace:  System.ServiceModel.PeerResolvers
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public virtual RefreshResponseInfo Refresh(
	RefreshInfo refreshInfo


Type: System.ServiceModel.PeerResolvers.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.

Return Value

Type: System.ServiceModel.PeerResolvers.RefreshResponseInfo
RefreshResponseInfo that contains the newly refreshed registration entry.




refreshInfo is set to null.


The custom peer resolver service has not been started with a previous call to Open.

A refresh of an entry extends the length of time for which it remains valid. All information used to uniquely identify the entry must be supplied in the RefreshInfo object supplied to this method.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.