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
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 |
No_Retry | 0 | No retry. A single attempt of operation. |
Applies to
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk