Method OfDays
OfDays(Int64)
Creates TTL with duration of days.
Declaration
public static TimeToLive OfDays(long value)
Parameters
Type | Name | Description |
---|---|---|
Int64 | value | Number of days. Must be a positive value. |
Returns
Type | Description |
---|---|
TimeToLive | TTL object representing specified duration in days. |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | If
value is negative or zero. |