ResetEvent Method (AEvent)

Sets the state of the event to nonsignaled until explicitly set to signaled by the SetEvent method.

Syntax

 [ bReset = ] Object.ResetEvent

The ResetEvent method syntax has the following parts:

 

Name

Type

Description

Object

AEvent

AEvent object

bReset

Bool

A boolean expression that specifies whether the state of the event is 'nonsignaled' until explicitly set to be signaled by the SetEvent method.

Where

bReset can be one of the following:

 

Value

Description

True *

The AEvent object is to be nonsignaled.

False

The AEvent object is not to be nonsignaled.

Example

The following statement attempts to set the state of the AEvent object to 'nonsignaled' until explicitly set to signaled by the SetEvent method:

event1.ResetEvent()

Applies to

AEvent

See Also

ManualReset, PulseEvent, SetEvent