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

服务的名称对象。

serviceActivationOptions
ServiceActivationOptions
cancellationToken
CancellationToken

取消标记。

返回

有关客户端如何连接到服务的说明。

实现

适用于