CustomPeerResolverService Class
Provides a basic implementation of a custom peer resolver service.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The CustomPeerResolverService type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CustomPeerResolverService | Initializes a new default instance of the CustomPeerResolverService class. |
| Name | Description | |
|---|---|---|
![]() | CleanupInterval | Gets or sets the recurring length of time after which stale entries are deleted from the peer resolver service's registration lookup table. |
![]() | ControlShape | Gets or sets whether referrals are shared by the peer resolver service. |
![]() | RefreshInterval | Gets or sets the length of time that entries remain valid in a peer resolver service's registration lookup table. |
| Name | Description | |
|---|---|---|
![]() | Close | Closes the peer resolver service. |
![]() | 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 a hash function for a particular type. (Inherited from Object.) |
![]() | GetServiceSettings | Obtains the specific response settings for the peer resolver service. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Open | Opens the peer resolver service. |
![]() | Refresh | Refreshes the expiry of an entry in the peer resolver service's registration lookup table. |
![]() | Register(RegisterInfo) | Adds a new entry to the registration lookup table of the peer resolver service. |
![]() | Register(Guid, String, PeerNodeAddress) | Adds a new entry to the registration lookup table of the peer resolver service. |
![]() | Resolve | Returns a list of known endpoints for a registration entry. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Unregister | Removes a specific entry from the registration lookup table of the peer resolver service. |
![]() | Update | Updates an existing registration entry entry in the registration lookup table of the peer resolver service. |
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 ImplementersImplementers 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
