共用方式為


GlobalBrokeredServiceContainer.BrokeredServiceManifest.GetAvailableServicesAsync 方法

定義

取得 可從 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))

參數

cancellationToken
CancellationToken

取消語彙基元。

傳回

服務Moniker的集合。

實作

適用於