Duration.UnaryNegation OperatorDuration.UnaryNegation OperatorDuration::UnaryNegation Operator
Parameters
- duration
Return Value
Exceptions
Exception | Condition |
OverflowExceptionOverflowExceptionOverflowException | The return value is less than MinValueMinValueMinValue or greater than MaxValueMaxValueMaxValue. |