Click or drag to resize

ProcessTerminator Properties

The ProcessTerminator type exposes the following members.

Public propertyCancellationToken
Returns the CancellationToken that will be cancelled when a termination signal is received or Exit(Int32) is called explicitly.
Public propertyCancellationTokenSource
Returns the CancellationTokenSource that can be used to cancel any outstanding operations before terminating a process.
Public propertyDisableProcessExit
Optionally indicates that the terminator should not actually terminate the hosting process. This is typically enabled for testing or debugging.
Public propertyStopEvent
Returns the AsyncManualResetEvent that will be raised when the service is being stopped.
Public propertyTerminateNow
Returns true when the application has been signalled to terminate.
Public propertyTimeout
Returns the termination timeout.
See Also