Class TaskCompletedEvent
- Namespace
- DurableTask.Core.History
- Assembly
- DurableTask.Core.dll
A history event for a task completion
[DataContract]
public class TaskCompletedEvent : HistoryEvent, IExtensibleDataObject
- Inheritance
-
TaskCompletedEvent
- Implements
-
IExtensibleDataObject
- Inherited Members
Constructors
TaskCompletedEvent(int, int, string)
Creates a new TaskCompletedEvent with the supplied parameters
public TaskCompletedEvent(int eventId, int taskScheduledId, string result)
Parameters
eventId
intThe event id of the history event
taskScheduledId
intThe scheduled parent instance event id
result
stringThe serialized result of the task
Properties
EventType
Gets the event type
public override EventType EventType { get; }
Property Value
Result
Gets the serialized result of the task
[DataMember]
public string Result { get; }
Property Value
TaskScheduledId
Gets the scheduled parent instance event id
[DataMember]
public int TaskScheduledId { get; }