Class FrameworkController.StopRunAction
StopRunAction stops an ongoing run.
Inheritance
FrameworkController.StopRunAction
Inherited Members
Namespace: NUnit.Framework.Api
Assembly: nunit.framework.dll
Syntax
public class FrameworkController.StopRunAction : FrameworkController.FrameworkControllerAction
Constructors
View SourceStopRunAction(FrameworkController, bool, object)
Construct a StopRunAction and stop any ongoing run. If no run is in process, no error is raised.
Declaration
public StopRunAction(FrameworkController controller, bool force, object handler)
Parameters
Type | Name | Description |
---|---|---|
FrameworkController | controller | The FrameworkController for which a run is to be stopped. |
bool | force | True the stop should be forced, false for a cooperative stop. |
object | handler |
|
Remarks
A forced stop will cause threads and processes to be killed as needed.