QueryTextOptions(String, IEnumerable<TextRecord>) Constructor

Definition

Initializes a new instance of QueryTextOptions.

public QueryTextOptions (string question, System.Collections.Generic.IEnumerable<Azure.AI.Language.QuestionAnswering.Models.TextRecord> records);
new Azure.AI.Language.QuestionAnswering.Models.QueryTextOptions : string * seq<Azure.AI.Language.QuestionAnswering.Models.TextRecord> -> Azure.AI.Language.QuestionAnswering.Models.QueryTextOptions
Public Sub New (question As String, records As IEnumerable(Of TextRecord))

Parameters

question
System.String

User question to query against the given text records.

records
System.Collections.Generic.IEnumerable<TextRecord>

Text records to be searched for given question.

Exceptions

System.ArgumentNullException

question or records is null.

Applies to