Click or drag to resize

wclAutoResetEvent Class

Represents a thread synchronization event that, when signaled, releases one single waiting thread and then resets automatically. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  wclCommonwclEventWaitHandle
    wclCommonwclAutoResetEvent

Namespace: wclCommon
Assembly: wclCommon (in wclCommon.dll) Version: 8.0.6.0
Syntax
public sealed class wclAutoResetEvent : wclEventWaitHandle

The wclAutoResetEvent type exposes the following members.

Constructors
 NameDescription
Public methodwclAutoResetEvent Initializes a new instance of the AutoResetEvent class with a Boolean value indicating whether to set the initial state to signaled.
Top
Properties
 NameDescription
Public propertyHandle Gets the native event handle.
(Inherited from wclEventWaitHandle)
Top
Methods
 NameDescription
Public methodClose Closes the event.
(Inherited from wclEventWaitHandle)
Public methodDispose Disposes the object.
(Inherited from wclEventWaitHandle)
Protected methodDispose(Boolean) Releases all resources used by the current instance of the class.
(Inherited from wclEventWaitHandle)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalize Finalizes the object.
(Inherited from wclEventWaitHandle)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReset Sets the state of the event to nonsignaled, causing threads to block.
(Inherited from wclEventWaitHandle)
Public methodSet Sets the state of the event to signaled, allowing one or more waiting threads to proceed.
(Inherited from wclEventWaitHandle)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWaitOne Blocks the current thread until the current WaitHandle receives a signal.
(Inherited from wclEventWaitHandle)
Public methodWaitOne(Int32) Blocks the current thread until the current event receives a signal, using a 32-bit signed integer to specify the time interval in milliseconds.
(Inherited from wclEventWaitHandle)
Top
See Also