Freigeben über


IBrokeredServiceManifest.GetAvailableServicesAsync(CancellationToken) 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);
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))

Parameters

cancellationToken
CancellationToken

A cancellation token.

Returns

A collection of service monikers.

Applies to