A constant used to specify an infinite waiting period. This field is constant.
Public Const Infinite As Integer
Dim value As Integer value = Timeout.Infinite
public const int Infinite
public: literal int Infinite
public const var Infinite : int
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 timeout behavior.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune