Click or drag to resize
AsyncAutoResetEvent Class
A thread synchronization event that notifies a waiting thread that an event has occurred.
Inheritance Hierarchy

Namespace: CodeTiger.Threading
Assembly: CodeTiger.Core (in CodeTiger.Core.dll) Version: 1.0.0.0
Syntax
public sealed class AsyncAutoResetEvent : AsyncWaitHandle

The AsyncAutoResetEvent type exposes the following members.

Constructors
  NameDescription
Public methodAsyncAutoResetEvent
Initializes a new instance of the AsyncAutoResetEvent class, specifying whether the event is initially signaled.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReset
Sets the state of the event to nonsignaled, causing threads to block.
Public methodSet
Sets the state of the event to signaled, allowing one waiting thread to proceed.
Public methodSet(CancellationToken)
Sets the state of the event to signaled, allowing one waiting thread to proceed.
Public methodSetAsync
Asynchronously sets the state of the event to signaled, allowing one waiting thread to proceed.
Public methodSetAsync(CancellationToken)
Asynchronously sets the state of the event to signaled, allowing one waiting thread to proceed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWaitOne
Blocks the calling thread until this event is signaled.
(Inherited from AsyncWaitHandle.)
Public methodWaitOne(Int32)
Blocks the calling thread until this event is signaled or the specified timeout elapses.
(Inherited from AsyncWaitHandle.)
Public methodWaitOne(CancellationToken)
Blocks the calling thread until this event is signaled or the provided cancellation token is set.
(Inherited from AsyncWaitHandle.)
Public methodWaitOne(TimeSpan)
Blocks the calling thread until this event is signaled or the specified timeout elapses.
(Inherited from AsyncWaitHandle.)
Public methodWaitOne(Int32, CancellationToken)
Blocks the calling thread until this event is signaled, the specified timeout elapses, or the provided cancellation token is set.
(Inherited from AsyncWaitHandle.)
Public methodWaitOne(TimeSpan, CancellationToken)
Blocks the calling thread until this event is signaled, the specified timeout elapses, or the provided cancellation token is set.
(Inherited from AsyncWaitHandle.)
Public methodWaitOneAsync
Asynchronously waits until this event is signaled.
(Inherited from AsyncWaitHandle.)
Public methodWaitOneAsync(Int32)
Asynchronously waits until this event is signaled or the specified timeout elapses.
(Inherited from AsyncWaitHandle.)
Public methodWaitOneAsync(CancellationToken)
Asynchronously waits until this event is signaled or the provided cancellation token is set.
(Inherited from AsyncWaitHandle.)
Public methodWaitOneAsync(TimeSpan)
Asynchronously waits until this event is signaled or the specified timeout elapses.
(Inherited from AsyncWaitHandle.)
Public methodWaitOneAsync(Int32, CancellationToken)
Asynchronously waits until this event is signaled, the specified timeout elapses, or the provided cancellation token is set.
(Inherited from AsyncWaitHandle.)
Public methodWaitOneAsync(TimeSpan, CancellationToken)
Asynchronously waits until this event is signaled, the specified timeout elapses, or the provided cancellation token is set.
(Inherited from AsyncWaitHandle.)
Top
See Also