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.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Name | Description | |
|---|---|---|
![]() | PeerResolver() | Initializes a new instance of the PeerResolver class. |
| Name | Description | |
|---|---|---|
![]() | CanShareReferrals | Gets whether the peer name resolver can share referrals. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | Initialize(EndpointAddress^, Binding^, ClientCredentials^, PeerReferralPolicy) | Initializes the current peer resolver instance with the new supplied endpoint address and settings. |
![]() | MemberwiseClone() | |
![]() | 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. |
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.
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.


