This class provides a static Infinite property, which is defined as -1 for use with methods that stop a thread's execution for a specific time period.
public sealed class Timeout { // Public Static Fields public const int Infinite; // =-1 }