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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.