Infinite Field
Collapse the table of content
Expand the table of content

Timeout.Infinite Field

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft