Class ActivityFailureException
- Namespace
- Temporalio.Exceptions
- Assembly
- Temporalio.dll
Exception that is thrown by the server to workflows when an activity fails.
public class ActivityFailureException : FailureException, ISerializable
- Inheritance
-
ActivityFailureException
- Implements
- Inherited Members
Constructors
ActivityFailureException(Failure, Exception?)
Initializes a new instance of the ActivityFailureException class.
protected ActivityFailureException(Failure failure, Exception? inner)
Parameters
Properties
ActivityId
Gets the identifier of the activity that failed.
public string ActivityId { get; }
Property Value
ActivityType
Gets the activity name or "type" that failed.
public string ActivityType { get; }
Property Value
Failure
Gets the underlying protobuf failure object.
public Failure Failure { get; }
Property Value
Identity
Gets the identity of the worker where this failed.
public string? Identity { get; }
Property Value
RetryState
Gets the retry state for the failure.
public RetryState RetryState { get; }