This documentation is archived and is not being maintained.

IPeerResolverContract Interface

Defines a contract for the basic operations of a peer resolver service.

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

[ServiceContractAttribute(Name = "IPeerResolverContract", Namespace = "", 
	SessionMode = SessionMode.Allowed)]
public interface IPeerResolverContract

The IPeerResolverContract type exposes the following members.

Public methodGetServiceSettingsObtains the settings for a peer resolver service.
Public methodRefreshRefreshes the expiry for an entry in the peer resolver service's registration lookup table.
Public methodRegisterRegisters a peer node with the custom peer resolver service.
Public methodResolveReturns a list of known endpoints for a registration entry.
Public methodUnregisterRemoves a registration from the lookup table for a peer resolver service.
Public methodUpdateUpdates the entry for a specific peer node in the peer resolver service's lookup table.

Implementors of custom peer resolver services should consider deriving from the base CustomPeerResolverService

type and overriding the virtual methods defined on it.

.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.