Aracılığıyla paylaş


RetryDecision Class

Definition

Represents a decision made by an IRetryPolicy.

public sealed class RetryDecision
type RetryDecision = class
Public NotInheritable Class RetryDecision
Inheritance
RetryDecision

Fields

NoRetry

A retry decision with ShouldRetry set to false

Properties

RetryDelay

Gets the delay before the next retry.

ShouldRetry

Gets whether a retry should be performed or not.

Methods

RetryWithDelay(TimeSpan)

Create a new RetryDecision with the specified delay before the next retry.

Applies to