Class OrchestrationFailureException
- Namespace
- DurableTask.Core.Exceptions
- Assembly
- DurableTask.Core.dll
Exception type thrown by implementors of TaskOrchestration when exception details need to flow to parent orchestrations.
public class OrchestrationFailureException : Exception, ISerializable
- Inheritance
-
OrchestrationFailureException
- Implements
- Inherited Members
Constructors
OrchestrationFailureException()
Initializes a new instance of the OrchestrationFailureException.
public OrchestrationFailureException()
OrchestrationFailureException(SerializationInfo, StreamingContext)
Initializes a new instance of the OrchestrationFailureException class.
protected OrchestrationFailureException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
OrchestrationFailureException(string)
Initializes a new instance of the OrchestrationFailureException.
public OrchestrationFailureException(string reason)
Parameters
reason
string
OrchestrationFailureException(string, Exception)
Initializes a new instance of the OrchestrationFailureException.
public OrchestrationFailureException(string reason, Exception innerException)
Parameters
OrchestrationFailureException(string, string)
Initializes a new instance of the OrchestrationFailureException.
public OrchestrationFailureException(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