Stop Method Property Parameters
The StopMethod property is associated with the Windows and Web adapters. The settings determine whether or not the process or the adapter stops, and how they relate to each other.
Setting |
Description |
None |
Stops the adapter, but leaves the process up and running. |
ForceClose |
Sends the message WM_CLOSE to each top-level window in the process and wait up to the interval specified in the CloseTimeout property for the process to exit. |
SimulateClose |
Sends the message WM_SYSCOMMAND (with parameter SC_CLOSE) to each top-level window in the process and wait CloseTimeout property in milliseconds for the process to exit. This simulates the user clicking the X on each form’s title bar. |
ForceCloseThenTerminate |
Same as ForceClose. Additionally, if the process does not exit within CloseTimeout, it is terminated, and the adapter waits up to the interval specified in the TerminateTimeout property for the process to exit. |
SimulateCloseThenTerminate |
Same as SimulateClose. Additionally, if the process does not exit within the CloseTimeout interval, it is terminated and the adapter waits up to the interval specified in the TerminateTimeout property for the process to exit. |
Terminate |
This setting does not attempt to gracefully close the process. The system just terminates it immediately and waits up to the interval specified in the TerminateTimeout property for the process to exit. |
Privacy | Trademarks | Terms of Use | Feedback
Updated: 01 July 2024
© 2016 - 2024 Pegasystems Inc. Cambridge, MA All rights reserved.