Share via


IotHubServiceRetryPolicyBase(UInt32) Constructor

Definition

Creates an instance of this class.

protected IotHubServiceRetryPolicyBase (uint maxRetries);
new Microsoft.Azure.Devices.IotHubServiceRetryPolicyBase : uint32 -> Microsoft.Azure.Devices.IotHubServiceRetryPolicyBase
Protected Sub New (maxRetries As UInteger)

Parameters

maxRetries
UInt32

The maximum number of retries; use a negative value for infinite retries.

Exceptions

Throw if the value of maxRetries is negative.

Applies to