Creates and initializes a Mono.Unix.UnixSignal class instance.
- rtsig
- A Mono.Unix.Native.RealTimeSignum value specifying which Unix realtime signal this instance should count.
Type Reason ArgumentException The internal signal handler could not be registered or the signal was registered outside of Mono.Posix. ArgumentOutOfRangeException signum is not a valid signal value.
This constructor initializes the UnixSignal.RealTimeSignum 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.
Realtime signal registration has the constraint that it cannot override signals registered from outside of Mono.Posix. This constraint exists because the underlying aplication and runtime can use some signals to implement some specific feature.
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 2.0.0.0