Share via


lease_time::lease_time Constructor

Initializes a new instance of the azure::storage::lease_time class that never expires.

lease_time();

lease_time(
   const std::chrono::seconds& seconds
);

lease_time(
   lease_time&& other
);

Parameters

  • seconds
    The duration of the lease in seconds. For a non-infinite lease, this value can be between 15 and 60 seconds.
  • other
    A reference to a set of lease_time on which to base the new instance.

Requirements

Header: blob.h

Namespace: azure::storage

See Also

Reference

lease_time Class