Timeout Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Contains a constant that is used to specify an infinite amount of time. This class cannot be inherited.
Assembly: mscorlib (in mscorlib.dll)
The Timeout type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | Infinite | A constant used to specify an infinite waiting period. This field is constant. |
![]() ![]() | InfiniteTimeSpan | A constant used to specify an infinite waiting period, for methods that accept a TimeSpan parameter. |
The only member of this class, Infinite, is a constant used by methods that accept an integer timeout parameter, such as Thread::Sleep(Int32) and Thread::Join(Int32).
Show:

