GlobalBrokeredServiceContainer.ProfferedRemoteServiceBroker.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

取消标记。

返回

表示此异步调用的任务。

实现

适用于