Udostępnij za pośrednictwem


IotHubServiceRetryPolicyBase Class

Definition

A base retry policy.

public abstract class IotHubServiceRetryPolicyBase : Microsoft.Azure.Devices.IIotHubServiceRetryPolicy
type IotHubServiceRetryPolicyBase = class
    interface IIotHubServiceRetryPolicy
Public MustInherit Class IotHubServiceRetryPolicyBase
Implements IIotHubServiceRetryPolicy
Inheritance
IotHubServiceRetryPolicyBase
Derived
Implements

Constructors

IotHubServiceRetryPolicyBase(UInt32)

Creates an instance of this class.

Properties

MaxRetries

The maximum number of retries

Methods

ShouldRetry(UInt32, Exception, TimeSpan)

Method called by the client prior to a retry.

UpdateWithJitter(Double)

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

Applies to