次の方法で共有


GlobalBrokeredServiceContainer.View.RequestServiceChannelAsync メソッド

定義

サービスへのパイプを取得します。

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)

パラメーター

serviceMoniker
ServiceMoniker

サービスのモニカー。

serviceActivationOptions
ServiceActivationOptions
cancellationToken
CancellationToken

キャンセル トークン。

戻り値

クライアントがサービスに接続する方法の手順。

実装

適用対象