xtd::threading::event_wait_handle::event_wait_handle | ( | bool | initial_state, |
event_reset_mode | mode | ||
) |
Initializes a new instance of the xtd::threading::event_wait_handle class, specifying whether the wait handle is initially signaled, and whether it resets automatically or manually.
initial_state | true to set the initial state to signaled; false to set it to nonsignaled. |
mode | One of the xtd::threading::event_reset_mode values that determines whether the event resets automatically or manually. |
xtd::argument_excpetion | The mode enum value was out of legal range. |