共用方式為


RetryPolicyType Enum

Definition

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