Freigeben über


GlobalBrokeredServiceContainer.ProfferedRemoteServiceBroker.IRemoteServiceBroker.RequestServiceChannelAsync Methode

Definition

Ruft eine Pipe an einen Dienst ab.

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

Parameter

serviceMoniker
ServiceMoniker

Der Moniker für den Dienst.

serviceActivationOptions
ServiceActivationOptions
cancellationToken
CancellationToken

Ein Abbruchtoken.

Gibt zurück

Anweisungen, wie der Client eine Verbindung mit dem Dienst herstellen kann.

Implementiert

Gilt für: