Creates and initializes a Mono.Unix.UnixSignal class instance.
- signum
- A Mono.Unix.Native.Signum value specifying which Unix signal this instance should count.
Type Reason ArgumentException The internal signal handler could not be registered. ArgumentOutOfRangeException signum is not a valid signal value.
This constructor initializes the UnixSignal.Signum property of the new instance using signum.
Once this constructor completes execution, all signal emissions between the completion of the constructor and the invocation of System.Threading.WaitHandle.Close will be counted, updating the UnixSignal.Count property.
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0