共用方式為


CommunicationClientFactoryBase<TCommunicationClient>.OpenClient Method

Definition

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.

Applies to