Udostępnij za pośrednictwem


ProvisioningClientOptions.RetryPolicy Property

Definition

Sets the retry policy used in the operation retries.

public Microsoft.Azure.Devices.Provisioning.Client.IProvisioningClientRetryPolicy RetryPolicy { get; set; }
member this.RetryPolicy : Microsoft.Azure.Devices.Provisioning.Client.IProvisioningClientRetryPolicy with get, set
Public Property RetryPolicy As IProvisioningClientRetryPolicy

Property Value

Remarks

Defaults to a nearly infinite exponential backoff. If set to null, will use ProvisioningClientNoRetry to perform no retries. Can be set to any of the built in retry policies such as ProvisioningClientFixedDelayRetryPolicy or ProvisioningClientIncrementalDelayRetryPolicy or a custom one by inheriting from IProvisioningClientRetryPolicy.

Applies to