GlobalBrokeredServiceContainer.View.RequestServiceChannelAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Obtiene una canalización a un servicio.
public System.Threading.Tasks.Task<Microsoft.ServiceHub.Framework.RemoteServiceConnectionInfo> RequestServiceChannelAsync(Microsoft.ServiceHub.Framework.ServiceMoniker serviceMoniker, Microsoft.ServiceHub.Framework.ServiceActivationOptions serviceActivationOptions, System.Threading.CancellationToken cancellationToken);
abstract member RequestServiceChannelAsync : Microsoft.ServiceHub.Framework.ServiceMoniker * Microsoft.ServiceHub.Framework.ServiceActivationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceHub.Framework.RemoteServiceConnectionInfo>
override this.RequestServiceChannelAsync : Microsoft.ServiceHub.Framework.ServiceMoniker * Microsoft.ServiceHub.Framework.ServiceActivationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceHub.Framework.RemoteServiceConnectionInfo>
Public Function RequestServiceChannelAsync (serviceMoniker As ServiceMoniker, serviceActivationOptions As ServiceActivationOptions, cancellationToken As CancellationToken) As Task(Of RemoteServiceConnectionInfo)
Parámetros
- serviceMoniker
- ServiceMoniker
El moniker del servicio.
- serviceActivationOptions
- ServiceActivationOptions
- cancellationToken
- CancellationToken
Token de cancelación.
Devoluciones
Instrucciones sobre cómo el cliente puede conectarse al servicio.