ReplSignalDelivery
What the framework decided about one delivered signal.
- Kind:
Enum - Namespace: Repl.Testing
- Assembly:
Repl.Testing - Source: src/Repl.Testing/ReplSignalDelivery.cs
Signature
Section titled “Signature”public enum ReplSignalDeliveryFields
Section titled “Fields”CancellationRequested
Section titled “CancellationRequested”The signal claimed the run cooperatively: every run in flight was asked to cancel, and a real process would have kept running to finish its cleanup.
CancellationRequested = 1Returns
Section titled “Returns”NotHandled
Section titled “NotHandled”Nothing claimed the signal, so a real process would have taken the operating-system default. A signal that arrives with no run in flight lands here, as does Break on a declared platform where Ctrl+Break is not a signal.
NotHandled = 0Returns
Section titled “Returns”WouldTerminateProcess
Section titled “WouldTerminateProcess”A signal arrived after one was already claimed, so the framework stepped aside and a real process would have been terminated by the operating system.
This reports the framework’s decision and nothing more — see ReplProcessSignalHarness for what an in-process test can and cannot prove.
WouldTerminateProcess = 2