PeerResolver Class


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Specifies a base type used to define the contract for the registration and resolution of a peer mesh ID to the endpoint addresses of nodes participating in the mesh.

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


public abstract class PeerResolver


Initializes a new instance of the PeerResolver class.


Gets whether the peer name resolver can share referrals.


Determines whether the specified object is equal to the current object.(Inherited from Object.)


Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)


Serves as the default hash function. (Inherited from Object.)


Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitialize(EndpointAddress, Binding, ClientCredentials, PeerReferralPolicy)

Initializes the current peer resolver instance with the new supplied endpoint address and settings.


Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRegister(String, PeerNodeAddress, TimeSpan)

Registers a PeerNodeAddress for a specific peer mesh.

System_CAPS_pubmethodResolve(String, Int32, TimeSpan)

Resolves the supplied mesh ID to zero or more endpoint addresses of nodes participating in the peer mesh.


Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodUnregister(Object, TimeSpan)

Removes the registration entry for a node from a peer mesh.

System_CAPS_pubmethodUpdate(Object, PeerNodeAddress, TimeSpan)

Updates the PeerNodeAddress for a node registered with a specific peer mesh.

This class is the base class for the implementation of custom peer name resolvers. A peer name resolver is a discovery service used by peer channels to find peer nodes participating in a peer mesh. It is also used to "register" a node with a peer mesh, the mechanism by which the peer node becomes known and available from the peer mesh.

.NET Framework
Available since 3.0

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

Return to top