次の方法で共有


TextConversation Constructor

Definition

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