Condividi tramite


ChatClient Constructors

Definition

Overloads

ChatClient()

Initializes a new instance of ChatClient for mocking.

ChatClient(Uri, CommunicationTokenCredential, ChatClientOptions)

Initializes a new instance of ChatClient.

ChatClient()

Source:
ChatClient.cs
Source:
ChatClient.cs

Initializes a new instance of ChatClient for mocking.

protected ChatClient ();
Protected Sub New ()

Applies to

ChatClient(Uri, CommunicationTokenCredential, ChatClientOptions)

Source:
ChatClient.cs
Source:
ChatClient.cs

Initializes a new instance of ChatClient.

public ChatClient (Uri endpoint, Azure.Communication.CommunicationTokenCredential communicationTokenCredential, Azure.Communication.Chat.ChatClientOptions options = default);
new Azure.Communication.Chat.ChatClient : Uri * Azure.Communication.CommunicationTokenCredential * Azure.Communication.Chat.ChatClientOptions -> Azure.Communication.Chat.ChatClient
Public Sub New (endpoint As Uri, communicationTokenCredential As CommunicationTokenCredential, Optional options As ChatClientOptions = Nothing)

Parameters

endpoint
Uri

The uri for the Azure Communication Services Chat.

communicationTokenCredential
CommunicationTokenCredential

Instance of CommunicationTokenCredential.

options
ChatClientOptions

Chat client options exposing Diagnostics, Retry, Transport, etc.

Applies to