Freigeben über


CommunicationClientFactoryBase<TCommunicationClient>.CreateClientAsync Methode

Definition

Erstellt einen Kommunikationsclient für die angegebene Endpunktadresse.

protected abstract System.Threading.Tasks.Task<TCommunicationClient> CreateClientAsync (string endpoint, System.Threading.CancellationToken cancellationToken);
abstract member CreateClientAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'CommunicationClient (requires 'CommunicationClient :> Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClient)>
Protected MustOverride Function CreateClientAsync (endpoint As String, cancellationToken As CancellationToken) As Task(Of TCommunicationClient)

Parameter

endpoint
String

Listeneradresse, an der das Replikat lauscht

cancellationToken
CancellationToken

Abbruchtoken

Gibt zurück

Task<TCommunicationClient>

Der erstellte Kommunikationsclient

Gilt für: