Provides a slimmed down version of ManualResetEvent.
Namespace:
System.Threading
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
<ComVisibleAttribute(False)> _ <HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization := True, _ ExternalThreading := True)> _ Public Class ManualResetEventSlim _ Implements IDisposable |
C# |
---|
[ComVisibleAttribute(false)] [HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization = true, ExternalThreading = true)] public class ManualResetEventSlim : IDisposable |
Remarks
All public and protected members of ManualResetEventSlim are thread-safe and may be used
concurrently from multiple threads, with the exception of Dispose, which
must only be used when all other operations on the ManualResetEventSlim have
completed, and Reset, which should only be used when no other threads are
accessing the event.
Inheritance Hierarchy
System..::.Object
System.Threading..::.ManualResetEventSlim
System.Threading..::.ManualResetEventSlim