The ProcessTerminator type exposes the following members.
Returns the CancellationTokenSource that can be used to cancel any outstanding operations before terminating a process.
Optionally indicates that the terminator should not actually terminate the hosting process. This is typically enabled for testing or debugging.
Returns the AsyncManualResetEvent that will be raised when the service is being stopped.
Returns true when the application has been signalled to terminate.
Returns the termination timeout.