Permalink
306c608 Jul 28, 2017
@yishengjin1413 @guardrex @tompratt-AQ
34 lines (30 sloc) 1.86 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
AutoResetEvent
03/30/2017
.net
dotnet-standard
article
threading [.NET Framework], AutoResetEvent class
AutoResetEvent class
6d39c48d-6b37-4a9b-8631-f2924cfd9c18
9
rpetrusha
ronpet
wpickett

AutoResetEvent

The xref:System.Threading.AutoResetEvent class represents a local wait handle event that resets automatically when signaled, after releasing a single waiting thread. This class represents a special case of its base class, xref:System.Threading.EventWaitHandle. See the EventWaitHandle conceptual documentation for the use and features of automatic reset events.

An xref:System.Threading.AutoResetEvent object is automatically reset to non-signaled by the system after a single waiting thread has been released. If no threads are waiting, the event object's state remains signaled. xref:System.Threading.AutoResetEvent corresponds to a Win32 CreateEvent call, specifying false for the bManualReset argument.

For an example that uses xref:System.Threading.AutoResetEvent, see Monitor.

See Also

xref:System.Threading.ManualResetEvent
xref:System.Threading.Monitor
EventWaitHandle, AutoResetEvent, CountdownEvent, ManualResetEvent
Threading
Threading Objects and Features
Wait Handles