Name

Timeout

Synopsis

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 field int Infinite;                              // =-1
}

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.