IotHubClientExponentialBackoffRetryPolicy(UInt32, TimeSpan, Boolean) Constructor
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.
Creates an instance of this class.
public IotHubClientExponentialBackoffRetryPolicy (uint maxRetries, TimeSpan maxWait, bool useJitter = true);
new Microsoft.Azure.Devices.Client.IotHubClientExponentialBackoffRetryPolicy : uint32 * TimeSpan * bool -> Microsoft.Azure.Devices.Client.IotHubClientExponentialBackoffRetryPolicy
Public Sub New (maxRetries As UInteger, maxWait As TimeSpan, Optional useJitter As Boolean = true)
Parameters
- maxRetries
- UInt32
The maximum number of retry attempts; use 0 for infinite retries.
- maxWait
- TimeSpan
The maximum amount of time to wait between retries (will not exceed ~12.43 days).
- useJitter
- Boolean
Whether to add a small, random adjustment to the retry delay to avoid synchronicity in clients retrying.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ