ChatClient Constructors
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.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.