PeerResolver Class

 

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)

System.Object
  System.ServiceModel.PeerResolver

public abstract class PeerResolver

NameDescription
System_CAPS_protmethodPeerResolver()

Initializes a new instance of the PeerResolver class.

NameDescription
System_CAPS_pubpropertyCanShareReferrals

Gets whether the peer name resolver can share referrals.

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

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

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

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.

System_CAPS_protmethodMemberwiseClone()

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.

System_CAPS_pubmethodToString()

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
Show: