RetryContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retry context data that's provided to task retry handler implementations.
public class RetryContext : IEquatable<Microsoft.DurableTask.RetryContext>
type RetryContext = class
interface IEquatable<RetryContext>
Public Class RetryContext
Implements IEquatable(Of RetryContext)
- Inheritance
-
RetryContext
- Implements
Constructors
RetryContext(RetryContext) | |
RetryContext(TaskOrchestrationContext, Int32, TaskFailureDetails, TimeSpan, CancellationToken) |
Retry context data that's provided to task retry handler implementations. |
Properties
CancellationToken |
A cancellation token that can be used to cancel the retries. |
EqualityContract | |
LastAttemptNumber |
The previous retry attempt number. |
LastFailure |
The details of the previous task failure. |
OrchestrationContext |
The context of the parent orchestrator. |
TotalRetryTime |
The total amount of time spent in a retry loop for the current task. |
Methods
<Clone>$() | |
Deconstruct(TaskOrchestrationContext, Int32, TaskFailureDetails, TimeSpan, CancellationToken) | |
Equals(Object) | |
Equals(RetryContext) | |
GetHashCode() | |
PrintMembers(StringBuilder) | |
ToString() |
Operators
Equality(RetryContext, RetryContext) | |
Inequality(RetryContext, RetryContext) |