[This is preliminary documentation and is subject to change.]
Resets this Sync so that it can be reused.
Declaration Syntax
C# |
public void Reset()
Remarks
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.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if the Sync state is
either waiting or signalled. |