你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RetryPolicyType 枚举

定义

注意

This enum has been deprecated. Please use Microsoft.Azure.Devices.Client.SetRetryPolicy(IRetryPolicy retryPolicy) instead.

注意

This enum has been deprecated. Please use Microsoft.Azure.Devices.Client.SetRetryPolicy(IRetryPolicy retryPolicy) instead.

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
继承
RetryPolicyType
属性

字段

Exponential_Backoff_With_Jitter 1

一种重试策略,它以指数方式增加重试延迟,并在每次重试时向延迟添加随机值。 这是要使用的 DEFAULT 策略

No_Retry 0

不重试。 一次操作尝试。

适用于