Udostępnij za pośrednictwem


GlobalBrokeredServiceContainer.ProfferedServiceBroker.IRemoteServiceBroker.RequestServiceChannelAsync Metoda

Definicja

Pobiera potok do usługi.

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

Parametry

serviceMoniker
ServiceMoniker

Moniker dla usługi.

serviceActivationOptions
ServiceActivationOptions
cancellationToken
CancellationToken

Token anulowania.

Zwraca

Instrukcje dotyczące sposobu nawiązywania połączenia klienta z usługą.

Implementuje

Dotyczy