Microsoft Azure Storage Client Library for C++
7.5.0
The Microsoft Azure Storage Client Library for C++ is a library for working with the Azure Storage Services in C++.
|
Specifies the duration of the lease. More...
Public Member Functions | |
lease_time () | |
Initializes a new instance of the azure::storage::lease_time class that never expires. More... | |
lease_time (const std::chrono::seconds &seconds) | |
Initializes a new instance of the azure::storage::lease_time class that expires after the specified duration. More... | |
const std::chrono::seconds & | seconds () const |
Gets the duration of the lease in seconds for a non-infinite lease. More... | |
Specifies the duration of the lease.
|
inline |
Initializes a new instance of the azure::storage::lease_time class that never expires.
|
inline |
Initializes a new instance of the azure::storage::lease_time class that expires after the specified duration.
seconds | The duration of the lease in seconds. For a non-infinite lease, this value can be between 15 and 60 seconds. |
|
inline |
Gets the duration of the lease in seconds for a non-infinite lease.