Class TimeoutFailureException
Exception representing a timeout.
Namespace: Temporalio.Exceptions
Assembly: Temporalio.dll
Syntax
public class TimeoutFailureException : FailureException
Constructors
TimeoutFailureException(Failure, Nullable<Exception>, IPayloadConverter)
Initializes a new instance of the TimeoutFailureException class.
Declaration
protected TimeoutFailureException(Failure failure, Exception? inner, IPayloadConverter converter)
Parameters
Type | Name | Description |
---|---|---|
Failure | failure | Underlying proto failure. |
Nullable<Exception> | inner | Inner exception if any. |
IPayloadConverter | converter | Converter used for converting details. |
Properties
Failure
Gets the underlying protobuf failure object.
Declaration
public Failure Failure { get; }
Property Value
Type | Description |
---|---|
Failure |
LastHeartbeatDetails
Gets the last heartbeat details of the activity if applicable.
Declaration
public InboundFailureDetails LastHeartbeatDetails { get; }
Property Value
Type | Description |
---|---|
InboundFailureDetails |
TimeoutType
Gets the type of timeout that occurred.
Declaration
public TimeoutType TimeoutType { get; }
Property Value
Type | Description |
---|---|
TimeoutType |