SearchModelFactory.KnowledgeAgentSearchActivityRecord Method
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 KnowledgeAgentSearchActivityRecord.
public static Azure.Search.Documents.Agents.Models.KnowledgeAgentSearchActivityRecord KnowledgeAgentSearchActivityRecord(int id = 0, string targetIndex = default, Azure.Search.Documents.Models.KnowledgeAgentSearchActivityRecordQuery query = default, DateTimeOffset? queryTime = default, int? count = default, int? elapsedMs = default);
static member KnowledgeAgentSearchActivityRecord : int * string * Azure.Search.Documents.Models.KnowledgeAgentSearchActivityRecordQuery * Nullable<DateTimeOffset> * Nullable<int> * Nullable<int> -> Azure.Search.Documents.Agents.Models.KnowledgeAgentSearchActivityRecord
Public Shared Function KnowledgeAgentSearchActivityRecord (Optional id As Integer = 0, Optional targetIndex As String = Nothing, Optional query As KnowledgeAgentSearchActivityRecordQuery = Nothing, Optional queryTime As Nullable(Of DateTimeOffset) = Nothing, Optional count As Nullable(Of Integer) = Nothing, Optional elapsedMs As Nullable(Of Integer) = Nothing) As KnowledgeAgentSearchActivityRecord
Parameters
- id
- Int32
The ID of the activity record.
- targetIndex
- String
The target index for the retrieval activity.
The query details for the retrieval activity.
- queryTime
- Nullable<DateTimeOffset>
The query time for this retrieval activity.
Returns
A new KnowledgeAgentSearchActivityRecord instance for mocking.