Timeout.InfiniteTimeSpan Field
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
A constant used to specify an infinite waiting period, for methods that accept a TimeSpan parameter.
Assembly: mscorlib (in mscorlib.dll)
The value of this constant is a TimeSpan object that represents -1 milliseconds. For threading methods that accept a timeout parameter, such as Thread.Sleep(TimeSpan), this value is used to suppress time-out behavior.
Show: