Returns a TimeSpan that represents a specified number of seconds, where the specification is accurate to the nearest millisecond.
An object that represents value.
Type Reason OverflowException The TimeSpan represented by value is greater than TimeSpan.MaxValue or less than TimeSpan.MinValue. ArgumentException value is equal to double.NaN.
The value parameter is converted to milliseconds, which is converted to ticks, and that number of ticks is used to intialize the new TimeSpan. Therefore, value will only be considered accurate to the nearest millisecond. Note that, because of the loss of precision of the double data type, this can generate an OverflowException for values that are near but still in the range of either TimeSpan.MinValue or TimeSpan.MaxValue, This is the cause of an OverflowException, for example, in the following attempt to instantiate a TimeSpan object.
code reference: System.TimeSpan.FromMinutes#5