Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
CustomPeerResolverService Class

Provides a basic implementation of a custom peer resolver service.

Namespace:  System.ServiceModel.PeerResolvers
Assembly:  System.ServiceModel (in System.ServiceModel.dll)
Visual Basic (Declaration)
<ServiceBehaviorAttribute(UseSynchronizationContext := False, InstanceContextMode := InstanceContextMode.Single,  _
    ConcurrencyMode := ConcurrencyMode.Multiple)> _
Public Class CustomPeerResolverService _
    Implements IPeerResolverContract
Visual Basic (Usage)
Dim instance As CustomPeerResolverService
C#
[ServiceBehaviorAttribute(UseSynchronizationContext = false, InstanceContextMode = InstanceContextMode.Single, 
    ConcurrencyMode = ConcurrencyMode.Multiple)]
public class CustomPeerResolverService : IPeerResolverContract
Visual C++
[ServiceBehaviorAttribute(UseSynchronizationContext = false, InstanceContextMode = InstanceContextMode::Single, 
    ConcurrencyMode = ConcurrencyMode::Multiple)]
public ref class CustomPeerResolverService : IPeerResolverContract
JScript
public class CustomPeerResolverService implements 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.

System..::.Object
  System.ServiceModel.PeerResolvers..::.CustomPeerResolverService
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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker