Sdílet prostřednictvím


GlobalBrokeredServiceContainer.BrokeredServiceManifest.GetAvailableServicesAsync Metoda

Definice

Získá seznam služeb, které jsou k dispozici z .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))

Parametry

cancellationToken
CancellationToken

Token zrušení.

Návraty

Kolekce servisních monikers.

Implementuje

Platí pro