class · System.Threading
ManualResetEvent
public class System.Threading.ManualResetEvent : System.Any
An event that stays set until Reset: WaitOne returns at once while it is set.
- Tipo
- class
- Espacio de nombres
- System.Threading
- Ensamblado
- System.Core
- Acceso
- public
- Archivo fuente
Threading.ant
Herencia
- Clases base
-
AnyManualResetEvent - Tipos derivados
-
AutoResetEvent
Constructores
Propiedades
Métodos
method Set() -> void
#
method Reset() -> void
#
method WaitOne() -> void
#
Waits at most milliseconds: whether it was set.
method Dispose() -> void
#
Frees what it holds (it must not be used after).
Campos
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
ManualResetEvent en Larva HIR, descompilado a partir de su Larva HIR.
// An event that stays set until Reset: WaitOne returns at once while it is set.
public class System.Threading.ManualResetEvent : System.Any
{
field mutex: System.Threading.Mutex
field changed: System.Threading.Condition
field set: bool
constructor ManualResetEvent(initialState: bool)
method Set() -> void
method Reset() -> void
method WaitOne() -> void
// Waits at most `milliseconds`: whether it was set.
method WaitOne(milliseconds: i32) -> bool
// Frees what it holds (it must not be used after).
method Dispose() -> void
property IsSet: bool
}