TimeToLive Constructor
Definition
- Namespace
- Codebelt.SharedKernel
- Assemblies
- Codebelt.SharedKernel.dll
TimeToLive(TimeSpan)
Initializes a new instance of the TimeToLive class.
public TimeToLive(TimeSpan value)
Parameters
valueTimeSpanThe TimeSpan value to assign the role of TimeToLive.
Exceptions
- ArgumentOutOfRangeException
valuecannot be less than MinValue -or-valuecannot exceed MaxValue.