IotHubClientOptions.RetryPolicy Property
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.
Sets the retry policy used in the operation retries.
public Microsoft.Azure.Devices.Client.IIotHubClientRetryPolicy RetryPolicy { get; set; }
member this.RetryPolicy : Microsoft.Azure.Devices.Client.IIotHubClientRetryPolicy with get, set
Public Property RetryPolicy As IIotHubClientRetryPolicy
Property Value
Remarks
Defaults to a nearly infinite exponential backoff. If set to null, will use IotHubClientNoRetry to perform no retries. Can be set to any of the built in retry policies such as IotHubClientFixedDelayRetryPolicy or IotHubClientIncrementalDelayRetryPolicy or a custom one by inheriting from IIotHubClientRetryPolicy.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET