Export (0) Print
Expand All
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
Public NotInheritable Class Timeout

The Timeout type exposes the following members.

  NameDescription
Public fieldStatic memberInfiniteA constant used to specify an infinite waiting period. This field is constant.
Public fieldStatic memberInfiniteTimeSpanA constant used to specify an infinite waiting period, for methods that accept a TimeSpan parameter.
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).

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

This type is thread safe.

Show:
© 2015 Microsoft