共用方式為


GlobalBrokeredServiceContainer.ProfferedServiceFactory.IRemoteServiceBroker.HandshakeAsync 方法

定義

將客戶端介紹至伺服器,以詳細說明用戶端的功能。

System.Threading.Tasks.Task IRemoteServiceBroker.HandshakeAsync (Microsoft.ServiceHub.Framework.ServiceBrokerClientMetadata clientMetadata, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.ServiceHub.Framework.IRemoteServiceBroker.HandshakeAsync : Microsoft.ServiceHub.Framework.ServiceBrokerClientMetadata * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.Microsoft.ServiceHub.Framework.IRemoteServiceBroker.HandshakeAsync : Microsoft.ServiceHub.Framework.ServiceBrokerClientMetadata * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Function HandshakeAsync (clientMetadata As ServiceBrokerClientMetadata, cancellationToken As CancellationToken) As Task Implements IRemoteServiceBroker.HandshakeAsync

參數

clientMetadata
ServiceBrokerClientMetadata

用戶端 IRemoteServiceBroker的環境、功能和屬性。

cancellationToken
CancellationToken

取消語彙基元。

傳回

代表這個異步呼叫的工作。

實作

適用於