Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Timeout Class

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

System.Object
  System.Threading.Timeout

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

'Declaration
<ComVisibleAttribute(True)> _
Public NotInheritable Class Timeout

The Timeout type exposes the following members.

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

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

Silverlight

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

Show:
© 2017 Microsoft