IpcRelayServiceBroker.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.
public System.Threading.Tasks.Task HandshakeAsync (Microsoft.ServiceHub.Framework.ServiceBrokerClientMetadata clientMetadata, System.Threading.CancellationToken cancellationToken = default);
abstract member HandshakeAsync : Microsoft.ServiceHub.Framework.ServiceBrokerClientMetadata * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.HandshakeAsync : Microsoft.ServiceHub.Framework.ServiceBrokerClientMetadata * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function HandshakeAsync (clientMetadata As ServiceBrokerClientMetadata, Optional cancellationToken As CancellationToken = Nothing) As Task
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.