[This is preliminary documentation and is subject to change.]
| C# |
public Object Wait()
The object passed from the signalling thread.
If this Sync has already been signalled, this returns
immediately. If another thread is already waiting on this Sync, an
exception is generated. There is no timeout - the calling thread will wait
indefinitely for a signal.
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown if the Sync state is
either waiting or complete. |