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

ProvisioningClientExponentialBackoffRetryPolicy Class

Definition

Represents a retry policy that performs a specified number of retries, using a exponential back-off scheme, with option jitter, to determine the interval between retries.

public class ProvisioningClientExponentialBackoffRetryPolicy : Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientRetryPolicyBase
type ProvisioningClientExponentialBackoffRetryPolicy = class
    inherit ProvisioningClientRetryPolicyBase
Public Class ProvisioningClientExponentialBackoffRetryPolicy
Inherits ProvisioningClientRetryPolicyBase
Inheritance
ProvisioningClientExponentialBackoffRetryPolicy

Remarks

Jitter can change the delay from 95% to 105% of the calculated time.

Constructors

Name Description
ProvisioningClientExponentialBackoffRetryPolicy(UInt32, TimeSpan, Boolean)

Creates an instance of this class.

Properties

Name Description
MaxRetries

The maximum number of retries

(Inherited from ProvisioningClientRetryPolicyBase)

Methods

Name Description
ShouldRetry(UInt32, Exception, TimeSpan)

Returns true if, based on the parameters, the operation should be retried.

UpdateWithJitter(Double)

Gets jitter between 95% and 105% of the base time.

(Inherited from ProvisioningClientRetryPolicyBase)

Applies to