ExecutionHistoryEntry Constructor
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 ExecutionHistoryEntry.
public ExecutionHistoryEntry(DateTimeOffset createdAt, string action, string createdBy, Azure.AI.Discovery.DiscoveryActorType createdByType);
new Azure.AI.Discovery.ExecutionHistoryEntry : DateTimeOffset * string * string * Azure.AI.Discovery.DiscoveryActorType -> Azure.AI.Discovery.ExecutionHistoryEntry
Public Sub New (createdAt As DateTimeOffset, action As String, createdBy As String, createdByType As DiscoveryActorType)
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).
Exceptions
action or createdBy is null.