Megosztás a következőn keresztül:


ProvisioningServiceClientOptions.RetryPolicy Property

Definition

Sets the retry policy used in the operation retries.

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

Property Value

Remarks

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

Applies to