你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RetryDecision Class

Definition

Represents a decision made by an IRetryPolicy.

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

Fields

Name Description
NoRetry

A retry decision with ShouldRetry set to false

Properties

Name Description
RetryDelay

Gets the delay before the next retry.

ShouldRetry

Gets whether a retry should be performed or not.

Methods

Name Description
RetryWithDelay(TimeSpan)

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

Applies to