GlobalBrokeredServiceContainer.BrokeredServiceManifest.GetAvailableServicesAsync 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.
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.