DayTimeDuration Constructor (long, decimal)DayTimeDuration Constructor (Long, Decimal)DayTimeDuration Constructor (long, decimal)
Initializes a new instance of the DayTimeDurationDayTimeDurationDayTimeDuration class
with the specified duration in days and seconds.
Parameters
- days
Type: System.Int64System.Int64System::Int64
The number of days.
- seconds
Type: System.DecimalSystem.DecimalSystem::Decimal
The number of seconds.
Exceptions
Exception | Condition |
OverflowExceptionOverflowExceptionOverflowException | The components represent a duration less than MinValueMinValueMinValue or greater than MaxValueMaxValueMaxValue. |