Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

EventWaitHandle.Reset Method

Definition

Namespace:
System.Threading
Assemblies:
mscorlib.dll, System.Threading.dll
Assemblies:
netstandard.dll, System.Threading.dll
Assembly:
System.Threading.dll
Assembly:
mscorlib.dll
Assembly:
netstandard.dll
Source:
EventWaitHandle.Windows.cs
Source:
EventWaitHandle.Unix.cs
Source:
EventWaitHandle.Windows.cs
Source:
EventWaitHandle.Windows.cs
Source:
EventWaitHandle.Windows.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Sets the state of the event to nonsignaled, causing threads to block.

public:
 bool Reset();
public bool Reset();
member this.Reset : unit -> bool
Public Function Reset () As Boolean

Returns

true if the operation succeeds; otherwise, false.

Exceptions

The Close() method was previously called on this EventWaitHandle.

Applies to

See also


Feedback

Was this page helpful?