Returns a TimeSpan that represents a specified number of milliseconds.
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 ticks, and that number of ticks is used to initialize 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 conversion can generate an OverflowException for values that are near to but still in the range of either TimeSpan.MinValue or TimeSpan.MaxValue. For example, this causes an OverflowException in the following attempt to instantiate a TimeSpan object.
code reference: System.TimeSpan.FromMinutes#4