Share via


GlobalBrokeredServiceContainer.BrokeredServiceManifest.GetAvailableServicesAsync Method

Definition

Gets the list of services that are available from an IServiceBroker.

public System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyCollection<Microsoft.ServiceHub.Framework.ServiceMoniker>> GetAvailableServicesAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetAvailableServicesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyCollection<Microsoft.ServiceHub.Framework.ServiceMoniker>>
override this.GetAvailableServicesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyCollection<Microsoft.ServiceHub.Framework.ServiceMoniker>>
Public Function GetAvailableServicesAsync (cancellationToken As CancellationToken) As ValueTask(Of IReadOnlyCollection(Of ServiceMoniker))

Parameters

cancellationToken
CancellationToken

A cancellation token.

Returns

A collection of service monikers.

Implements

Applies to