DurableWorkflowFailedEvent(String, TaskFailureDetails) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DurableWorkflowFailedEvent class.
public DurableWorkflowFailedEvent(string errorMessage, Microsoft.DurableTask.TaskFailureDetails? failureDetails = default);
new Microsoft.Agents.AI.DurableTask.Workflows.DurableWorkflowFailedEvent : string * Microsoft.DurableTask.TaskFailureDetails -> Microsoft.Agents.AI.DurableTask.Workflows.DurableWorkflowFailedEvent
Public Sub New (errorMessage As String, Optional failureDetails As TaskFailureDetails = Nothing)
Parameters
- errorMessage
- String
The error message describing the failure.
- failureDetails
- TaskFailureDetails
The full failure details from the Durable Task runtime, if available.