IPeerResolverContract Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a contract for the basic operations of a peer resolver service.
public interface class IPeerResolverContract
[System.ServiceModel.ServiceContract(Name="IPeerResolverContract", Namespace="http://schemas.microsoft.com/net/2006/05/peer/resolver", SessionMode=System.ServiceModel.SessionMode.Allowed)]
public interface IPeerResolverContract
[<System.ServiceModel.ServiceContract(Name="IPeerResolverContract", Namespace="http://schemas.microsoft.com/net/2006/05/peer/resolver", SessionMode=System.ServiceModel.SessionMode.Allowed)>]
type IPeerResolverContract = interface
Public Interface IPeerResolverContract
- Derived
- Attributes
Remarks
Implementors of custom peer resolver services should consider deriving from the base CustomPeerResolverService
type and overriding the virtual methods defined on it.
Methods
GetServiceSettings() |
Obtains the settings for a peer resolver service. |
Refresh(RefreshInfo) |
Refreshes the expiry for an entry in the peer resolver service's registration lookup table. |
Register(RegisterInfo) |
Registers a peer node with the custom peer resolver service. |
Resolve(ResolveInfo) |
Returns a list of known endpoints for a registration entry. |
Unregister(UnregisterInfo) |
Removes a registration from the lookup table for a peer resolver service. |
Update(UpdateInfo) |
Updates the entry for a specific peer node in the peer resolver service's lookup table. |
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應