Timeout Class

Contains a constant that is used to specify an infinite amount of time. This class cannot be inherited.


Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

public static class Timeout

The Timeout type exposes the following members.

Public fieldStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360InfiniteA constant used to specify an infinite waiting period. This field is constant.

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).


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

This type is thread safe.

Community Additions