Timeout.Infinite 필드
정의
public: int Infinite = -1;
public const int Infinite = -1;
val mutable Infinite : int
Public Const Infinite As Integer = -1
필드 값
설명
메서드를 받아들이는 스레딩에 대 한는 millisecondsTimeout
매개 변수를 같은 Thread.Sleep(Int32) 및 Thread.Join(Int32), 스레드를 무기한으로 일시 중단 하려면이 값은 사용 합니다.For threading methods that accept a millisecondsTimeout
parameter, such as Thread.Sleep(Int32) and Thread.Join(Int32), this value is used to suspend the thread indefinitely. 그러나 대부분의 경우,, 또는와 같은 다른 클래스를 사용 하 여 System.Threading Mutex 스레드를 Monitor EventWaitHandle Semaphore 동기화 하거나 리소스를 관리 하는 것이 좋습니다.However, in most cases, we recommend that you use other System.Threading classes, such as Mutex, Monitor, EventWaitHandle, or Semaphore instead, to synchronize threads or manage resources.
이 필드의 값은-1 (0xFFFFFFFF).The value of this field is -1 (0xFFFFFFFF).