Share via


linear_retry_policy::linear_retry_policy Constructor

Initializes a new instance of the linear_retry_policy class.

linear_retry_policy();

linear_retry_policy(
   std::chrono::seconds delta_backoff,
   int max_attempts
);

Parameters

  • delta_backoff
    The delta backoff.
  • max_attempts
    The maximum number of retries to attempt.

Requirements

Header: retry_policies.h

Namespace: azure::storage

See Also

Reference

linear_retry_policy Class