11-06-2012 02:37 AM
From my main sequence I start other sequences in new executions. How to stop them all programmatically?
If I would get all the references to all the executions, it would be easy. How to do it?
11-06-2012 03:42 AM
First of all: Abort is a very, very dangerous thing. It can create significant issues up to hardware damage.
That being said, if you want to abort ALL executions, you can get the Engine from the SequenceContext and invoke the "AbortAll" method.
I suggest you to switch to "TerminateAll" instead.
Norbert
11-06-2012 02:26 PM
@mitulatbati wrote:
From my main sequence I start other sequences in new executions. How to stop them all programmatically?
If I would get all the references to all the executions, it would be easy. How to do it?
I think you should describe at a higher level what you are trying to accomplish. There is likely a better way to do it.
-Doug