[This is preliminary documentation and is subject to change.]
Resets this Sync so that it can be reused.
| C# |
public void Reset()
This can only be called if the state of the sync is ready,
complete or timed out. If it is in the signalled or waiting state, an
exception is generated. This sets the state of the Sync to the ready
state.
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown if the Sync state is
either waiting or signalled. |