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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈