GlobalBrokeredServiceContainer.ProfferedServiceFactory.IRemoteServiceBroker.RequestServiceChannelAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得服務的管道。
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
取消語彙基元。
傳回
用戶端如何連線至服務的指示。