CommunicationClientFactoryBase<TCommunicationClient>.OpenClient 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.
Opens the Communictaion Client
protected virtual System.Threading.Tasks.Task OpenClient (TCommunicationClient client, System.Threading.CancellationToken cancellationToken);
abstract member OpenClient : 'CommunicationClient * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OpenClient : 'CommunicationClient * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function OpenClient (client As TCommunicationClient, cancellationToken As CancellationToken) As Task
Parameters
- client
- TCommunicationClient
Communication client
- cancellationToken
- CancellationToken
Cancellation token
Returns
A Task representing the asynchronous operation.