Parameters
- value
- A TimeSpan structure that represents the time. This must be specfied in 24 hour time.
- scale
- The scale of the time. The scale can range from 0-6.
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | Either the value or scale is out of range. |
If the fractional component of the TimeSpan structure contains more digits than what has been specified in the scale, the fraction component will be truncated to match the scale.
Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2