TextConversation Constructor
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.
Initializes a new instance of TextConversation.
public TextConversation (string id, string language, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.TextConversationItem> conversationItems);
new Azure.AI.Language.Conversations.Models.TextConversation : string * string * seq<Azure.AI.Language.Conversations.Models.TextConversationItem> -> Azure.AI.Language.Conversations.Models.TextConversation
Public Sub New (id As String, language As String, conversationItems As IEnumerable(Of TextConversationItem))
Parameters
- id
- String
Unique identifier for the conversation.
- language
- String
Language of the conversation item in BCP-47 format.
- conversationItems
- IEnumerable<TextConversationItem>
Ordered list of text conversation items in the conversation.
Exceptions
id
, language
or conversationItems
is null.
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