Click or drag to resize
Akka.NETHoconValueGetTimeSpan Method
Retrieves the time span value from this HoconValue.

Namespace:  Akka.Configuration.Hocon
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public TimeSpan GetTimeSpan(
	bool allowInfinite = true
)

Parameters

allowInfinite (Optional)
Type: SystemBoolean
A flag used to set infinite durations.

Return Value

Type: TimeSpan
The time span value represented by this HoconValue.
Exceptions
ExceptionCondition
FormatException This exception is thrown if the timespan given in the HoconValue is negative.
See Also