DurableWorkflowFailedEvent Class

Definition

Event raised when a durable workflow fails.

public sealed class DurableWorkflowFailedEvent : Microsoft.Agents.AI.Workflows.WorkflowEvent
type DurableWorkflowFailedEvent = class
    inherit WorkflowEvent
Public NotInheritable Class DurableWorkflowFailedEvent
Inherits WorkflowEvent
Inheritance
DurableWorkflowFailedEvent

Constructors

Name Description
DurableWorkflowFailedEvent(String, TaskFailureDetails)

Initializes a new instance of the DurableWorkflowFailedEvent class.

Properties

Name Description
Data

Optional payload

(Inherited from WorkflowEvent)
ErrorMessage

Gets the error message describing the failure.

FailureDetails

Gets the full failure details from the Durable Task runtime, including error type, stack trace, and inner failure.

Methods

Name Description
ToString() (Inherited from WorkflowEvent)

Applies to