DiscoveryModelFactory.ExecutionHistoryEntry 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.
Execution history entry for a task.
public static Azure.AI.Discovery.ExecutionHistoryEntry ExecutionHistoryEntry(DateTimeOffset createdAt = default, string action = default, string createdBy = default, Azure.AI.Discovery.DiscoveryActorType createdByType = default, string summary = default, string responseMessageText = default, string responseMessageId = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalDetails = default);
static member ExecutionHistoryEntry : DateTimeOffset * string * string * Azure.AI.Discovery.DiscoveryActorType * string * string * string * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.Discovery.ExecutionHistoryEntry
Public Shared Function ExecutionHistoryEntry (Optional createdAt As DateTimeOffset = Nothing, Optional action As String = Nothing, Optional createdBy As String = Nothing, Optional createdByType As DiscoveryActorType = Nothing, Optional summary As String = Nothing, Optional responseMessageText As String = Nothing, Optional responseMessageId As String = Nothing, Optional additionalDetails As IDictionary(Of String, BinaryData) = Nothing) As ExecutionHistoryEntry
Parameters
- createdAt
- DateTimeOffset
Timestamp when the entry was created (ISO 8601 UTC format).
- action
- String
The action that was performed (controlled vocabulary; semi-open).
- createdBy
- String
Identifier of who created this entry (GUID for user | resourceId for application | arbitrary string for other types).
- createdByType
- DiscoveryActorType
Type of entity that created this entry (User, Application, System, or custom type).
- summary
- String
Brief summary of the execution event.
- responseMessageText
- String
Detailed completion message.
- responseMessageId
- String
Run or message ID for full details.
- additionalDetails
- IDictionary<String,BinaryData>
Freeform key-value pairs for additional details.
Returns
A new ExecutionHistoryEntry instance for mocking.