Class CancelledFailureException
- Namespace
- Temporalio.Exceptions
- Assembly
- Temporalio.dll
Exception representing a cancellation.
public class CancelledFailureException : FailureException, ISerializable
- Inheritance
-
CancelledFailureException
- Implements
- Inherited Members
Constructors
CancelledFailureException(string, IReadOnlyCollection<object?>?)
Initializes a new instance of the CancelledFailureException class.
protected CancelledFailureException(string message, IReadOnlyCollection<object?>? details = null)
Parameters
message
stringMessage for the exception.
details
IReadOnlyCollection<object>Details for the exception.
CancelledFailureException(Failure, Exception?, IPayloadConverter)
Initializes a new instance of the CancelledFailureException class.
protected CancelledFailureException(Failure failure, Exception? inner, IPayloadConverter converter)
Parameters
failure
FailureUnderlying proto failure.
inner
ExceptionInner exception if any.
converter
IPayloadConverterConverter used for converting details.
Properties
Details
Gets the details of the exception. This is never null.
public IFailureDetails Details { get; protected init; }
Property Value
Remarks
This will be OutboundFailureDetails for user-created exceptions and InboundFailureDetails for server-serialized exceptions.
Failure
Gets the underlying protobuf failure object.
public Failure Failure { get; }