Table of Contents

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 int

The event id of the history event

taskScheduledId int

The scheduled parent instance event id

result string

The serialized result of the task

Properties

EventType

Gets the event type

public override EventType EventType { get; }

Property Value

EventType

Result

Gets the serialized result of the task

[DataMember]
public string Result { get; }

Property Value

string

TaskScheduledId

Gets the scheduled parent instance event id

[DataMember]
public int TaskScheduledId { get; }

Property Value

int