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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET