Share via


TranscriptConversation Constructor

Definition

Initializes a new instance of TranscriptConversation.

public TranscriptConversation (string id, string language, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.TranscriptConversationItem> conversationItems);
new Azure.AI.Language.Conversations.Models.TranscriptConversation : string * string * seq<Azure.AI.Language.Conversations.Models.TranscriptConversationItem> -> Azure.AI.Language.Conversations.Models.TranscriptConversation
Public Sub New (id As String, language As String, conversationItems As IEnumerable(Of TranscriptConversationItem))

Parameters

id
String

Unique identifier for the conversation.

language
String

Language of the conversation item in BCP-47 format.

conversationItems
IEnumerable<TranscriptConversationItem>

Ordered list of transcript conversation items in the conversation.

Exceptions

id, language or conversationItems is null.

Applies to