RetryPolicyType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This enum has been deprecated. Please use Microsoft.Azure.Devices.Client.SetRetryPolicy(IRetryPolicy retryPolicy) instead.
Caution
This enum has been deprecated. Please use Microsoft.Azure.Devices.Client.SetRetryPolicy(IRetryPolicy retryPolicy) instead.
Retry Strategy types supported by DeviceClient
[System.Obsolete("This enum has been deprecated. Please use Microsoft.Azure.Devices.Client.SetRetryPolicy(IRetryPolicy retryPolicy) instead.")]
public enum RetryPolicyType
[System.Obsolete("This enum has been deprecated. Please use Microsoft.Azure.Devices.Client.SetRetryPolicy(IRetryPolicy retryPolicy) instead.")]
public enum RetryPolicyType
[<System.Obsolete("This enum has been deprecated. Please use Microsoft.Azure.Devices.Client.SetRetryPolicy(IRetryPolicy retryPolicy) instead.")>]
type RetryPolicyType =
[<System.Obsolete("This enum has been deprecated. Please use Microsoft.Azure.Devices.Client.SetRetryPolicy(IRetryPolicy retryPolicy) instead.")>]
type RetryPolicyType =
Public Enum RetryPolicyType
- Inheritance
-
RetryPolicyType
- Attributes
Fields
Name | Value | Description |
---|---|---|
No_Retry | 0 | No retry. A single attempt of operation. |
Exponential_Backoff_With_Jitter | 1 | A retry strategy which exponentially augments the retry delay and adds a random value to the delay at each retry. This is the DEFAULT policy to use |
Applies to
Azure SDK for .NET