Partilhar via


GlobalBrokeredServiceContainer.ProfferedServiceFactory.IRemoteServiceBroker.HandshakeAsync Método

Definição

Apresenta o cliente ao servidor para detalhar os recursos do cliente.

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

Parâmetros

clientMetadata
ServiceBrokerClientMetadata

O ambiente, os recursos e os atributos de um cliente do IRemoteServiceBroker.

cancellationToken
CancellationToken

Um token de cancelamento.

Retornos

Uma tarefa que representa essa chamada assíncrona.

Implementações

Aplica-se a