TaskFailedException Class
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.
Exception that gets thrown when a durable task, such as an activity or a sub-orchestration, fails with an unhandled exception.
public sealed class TaskFailedException : Exception
type TaskFailedException = class
inherit Exception
Public NotInheritable Class TaskFailedException
Inherits Exception
- Inheritance
-
TaskFailedException
Remarks
Detailed information associated with a particular task failure, including exception details, can be found in the FailureDetails property.
Constructors
TaskFailedException(String, Int32, Exception) |
Initializes a new instance of the TaskFailedException class. |
TaskFailedException(String, Int32, TaskFailureDetails) |
Initializes a new instance of the TaskFailedException class. |
Properties
FailureDetails |
Gets the details of the task failure, including exception information. |
TaskId |
Gets the ID of the failed task. |
TaskName |
Gets the name of the failed task. |
Methods
IsCausedByException<T>() |
Obsolete.
Returns true if the task failure was provided by the specified exception type. |