Timeout.Infinite Field

A constant used to specify an infinite waiting period. This field is constant.

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

public const int Infinite

The value of this constant is -1. For threading methods that accept a timeout parameter, such as Thread.Sleep(Int32) and Thread.Join(Int32), this value is used to suppress time-out behavior.

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.

Community Additions

ADD
Show: