This documentation is archived and is not being maintained.

CustomPeerResolverService Class

Provides a basic implementation of a custom peer resolver service.

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

[ServiceBehaviorAttribute(UseSynchronizationContext = false, InstanceContextMode = InstanceContextMode::Single, 
	ConcurrencyMode = ConcurrencyMode::Multiple)]
public ref class CustomPeerResolverService : IPeerResolverContract

The CustomPeerResolverService class defines the base implementation of a custom peer resolver service and provides lookup for the resolution of registration IDs to peer endpoint addresses within the mesh maintained by this resolver.

Notes to Implementers:

Implementers of custom peer resolvers should derive from this class and override those specific functions for which they are providing custom implementations. Any custom peer resolver must minimally implement the IPeerResolverContract interface.

Also, clients using a custom resolver must have some upper bound on client-server latency in order to successfully refresh their registration with the peer resolver service.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5, 3.0