IServiceEndpointProvider.PopulateAsync Method
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.
Resolves the endpoints for the service.
public System.Threading.Tasks.ValueTask PopulateAsync (Microsoft.Extensions.ServiceDiscovery.IServiceEndpointBuilder endpoints, System.Threading.CancellationToken cancellationToken);
abstract member PopulateAsync : Microsoft.Extensions.ServiceDiscovery.IServiceEndpointBuilder * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public Function PopulateAsync (endpoints As IServiceEndpointBuilder, cancellationToken As CancellationToken) As ValueTask
Parameters
- endpoints
- IServiceEndpointBuilder
The endpoint collection, which resolved endpoints will be added to.
- cancellationToken
- CancellationToken
The token to monitor for cancellation requests.
Returns
The resolution status.