Blocks the current thread until one of the Mono.Unix.UnixSignal instances within signals has a non-zero UnixSignal.Count or the timeout expires.
- signals
- A Mono.Unix.UnixSignal array containing the Mono.Unix.UnixSignal instances to wait on.
- millisecondsTimeout
- A int specifying the number of milliseconds to wait before the method should return. -1 represents an infinite timeout.
If the method doesn't timeout, returns a int set to the index of the element in signals that received a signal. If the method does timeout, then millisecondsTimeout is returned.
Type Reason ArgumentNullException signals is null. ArgumentOutOfRangeException millisecondsTimeout is less than -1. InvalidOperationException One of the Mono.Unix.UnixSignal instances within signals was disposed.
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0