Windows apps
Collapse the table of content
Expand the table of content

Infinite Field

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

A constant used to specify an infinite waiting period.

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 millisecondsTimeout parameter, such as Thread..::..Sleep(Int32) and Thread..::..Join(Int32), this value is used to suppress time-out behavior.

© 2017 Microsoft