Why 10675199.02:48:05.4775807 TimeSpan Maximum for CompilationSection?
Posted
by Alex
on Stack Overflow
See other posts from Stack Overflow
or by Alex
Published on 2010-05-28T23:15:32Z
Indexed on
2010/05/28
23:22 UTC
Read the original article
Hit count: 170
I was looking at the metadata for System.Web.Configuration.CompilationSection, and noticed the following attribute on the TimeSpan BatchTimeout
property:
[TimeSpanValidator(MinValueString = "00:00:00",
MaxValueString = "10675199.02:48:05.4775807")]
Could someone explain why this is the allowed max value? TimeSpan itself has an upper limit, so why would there be another value validation, and why this number?
© Stack Overflow or respective owner