Table of Contents

Class WorkflowTaskCompletedEventArgs

Namespace
Temporalio.Worker
Assembly
Temporalio.dll

Event arguments for workflow task completed events.

public class WorkflowTaskCompletedEventArgs : WorkflowTaskEventArgs
Inheritance
WorkflowTaskCompletedEventArgs
Inherited Members

Remarks

WARNING: This is experimental and there are many caveats about its use. It is important to read the documentation on WorkflowTaskStarting.

Properties

TaskFailureException

Gets the task failure if any.

public Exception? TaskFailureException { get; }

Property Value

Exception

Remarks

This is the task failure not the workflow failure. Task failures occur on all exceptions except Temporal exceptions thrown from the workflow. These cause the workflow to continually retry until code is fixed to solve the exception.