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?
public static readonly TimeSpan Zero = new TimeSpan(0);
,public static readonly TimeSpan MaxValue = new TimeSpan(Int64.MaxValue);
. They are instances of a type which are not available at compile time. – Telephonist