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