Partager via


IBrokeredServiceManifest.GetAvailableServicesAsync(CancellationToken) Méthode

Définition

Obtient la liste des services disponibles à partir d’un 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>>
Public Function GetAvailableServicesAsync (cancellationToken As CancellationToken) As ValueTask(Of IReadOnlyCollection(Of ServiceMoniker))

Paramètres

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Collection de monikers de service.

S’applique à