Share via


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)

Syntax

'Declaration
Public Const Infinite As Integer
public const int Infinite
public:
literal int Infinite
static val mutable Infinite: int
public const var Infinite : int

Remarks

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.

.NET Framework Security

See Also

Reference

Timeout Class

System.Threading Namespace