Class TaskFailureException
- Namespace
- DurableTask.Core.Exceptions
- Assembly
- DurableTask.Core.dll
Exception type thrown by implementors of TaskActivity when exception details need to flow to parent orchestrations.
public class TaskFailureException : Exception, ISerializable
- Inheritance
-
TaskFailureException
- Implements
- Inherited Members
Constructors
TaskFailureException()
Initializes a new instance of the TaskFailureException class.
public TaskFailureException()
TaskFailureException(SerializationInfo, StreamingContext)
Initializes a new instance of the TaskFailureException class.
protected TaskFailureException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
TaskFailureException(string)
Initializes a new instance of the TaskFailureException class.
public TaskFailureException(string reason)
Parameters
reason
string
TaskFailureException(string, Exception)
Initializes a new instance of the TaskFailureException class.
public TaskFailureException(string reason, Exception innerException)
Parameters
TaskFailureException(string, Exception, string)
Initializes a new instance of the TaskFailureException class.
public TaskFailureException(string reason, Exception innerException, string details)
Parameters
TaskFailureException(string, string)
Initializes a new instance of the TaskFailureException class.
public TaskFailureException(string reason, string details)
Parameters
Properties
Details
Details of the exception which will flow to the parent orchestration.
public string Details { get; set; }
Property Value
Methods
GetObjectData(SerializationInfo, StreamingContext)
Gets object data for use by serialization.
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
ToString()
Returns a debug string representing the current exception object.
public override string ToString()