Breyta

Deila með


PeerResolver Class

Definition

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.

public ref class PeerResolver abstract
public abstract class PeerResolver
type PeerResolver = class
Public MustInherit Class PeerResolver
Inheritance
PeerResolver

Remarks

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.

Constructors

PeerResolver()

Initializes a new instance of the PeerResolver class.

Properties

CanShareReferrals

Gets whether the peer name resolver can share referrals.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(EndpointAddress, Binding, ClientCredentials, PeerReferralPolicy)

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

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Register(String, PeerNodeAddress, TimeSpan)

Registers a PeerNodeAddress for a specific peer mesh.

Resolve(String, Int32, TimeSpan)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)
Unregister(Object, TimeSpan)

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

Update(Object, PeerNodeAddress, TimeSpan)

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

Applies to