Interface IDiscoveryService
- Namespace
- Microsoft.ServiceHub.Framework
- Assembly
- Microsoft.ServiceHub.Framework.dll
Interface that all ServiceHub discovery services should implement.
public interface IDiscoveryService
Methods
DiscoverServiceAsync(string, CancellationToken)
Find the location of the configuration file for the given service.
Task<string> DiscoverServiceAsync(string serviceName, CancellationToken cancellationToken)
Parameters
serviceNamestringThe name of the service.
cancellationTokenCancellationTokenA token to signal cancellation.