GlobalBrokeredServiceContainer.ProfferedServiceFactory.IRemoteServiceBroker.HandshakeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Introduces the client to the server to detail the client's capabilities.
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
Parameters
- clientMetadata
- ServiceBrokerClientMetadata
The environment, capabilities and attributes of a client of the IRemoteServiceBroker.
- cancellationToken
- CancellationToken
A cancellation token.
Returns
A task representing this async call.