共用方式為


GlobalBrokeredServiceContainer.ProfferedServiceFactory.IRemoteServiceBroker.RequestServiceChannelAsync 方法

定義

取得服務的管道。

System.Threading.Tasks.Task<Microsoft.ServiceHub.Framework.RemoteServiceConnectionInfo> IRemoteServiceBroker.RequestServiceChannelAsync (Microsoft.ServiceHub.Framework.ServiceMoniker serviceMoniker, Microsoft.ServiceHub.Framework.ServiceActivationOptions serviceActivationOptions, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.ServiceHub.Framework.IRemoteServiceBroker.RequestServiceChannelAsync : Microsoft.ServiceHub.Framework.ServiceMoniker * Microsoft.ServiceHub.Framework.ServiceActivationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceHub.Framework.RemoteServiceConnectionInfo>
override this.Microsoft.ServiceHub.Framework.IRemoteServiceBroker.RequestServiceChannelAsync : Microsoft.ServiceHub.Framework.ServiceMoniker * Microsoft.ServiceHub.Framework.ServiceActivationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceHub.Framework.RemoteServiceConnectionInfo>
Function RequestServiceChannelAsync (serviceMoniker As ServiceMoniker, serviceActivationOptions As ServiceActivationOptions, cancellationToken As CancellationToken) As Task(Of RemoteServiceConnectionInfo) Implements IRemoteServiceBroker.RequestServiceChannelAsync

參數

serviceMoniker
ServiceMoniker

服務的Moniker。

serviceActivationOptions
ServiceActivationOptions
cancellationToken
CancellationToken

取消語彙基元。

傳回

用戶端如何連線至服務的指示。

實作

適用於