Table of Contents

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 int

The event id of the history event

taskScheduledId int

The scheduled parent instance event id

reason string

The task failure reason

details string

Details of the task failure

Properties

Details

Gets details of the task failure

[DataMember]
public string Details { get; }

Property Value

string

EventType

Gets the event type

public override EventType EventType { get; }

Property Value

EventType

Reason

Gets the task failure reason

[DataMember]
public string Reason { get; }

Property Value

string

TaskScheduledId

Gets the scheduled parent instance event id

[DataMember]
public int TaskScheduledId { get; }

Property Value

int