Table of Contents

Class FrameworkController.StopRunAction

Namespace
NUnit.Framework.Api
Assembly
nunit.framework.dll

StopRunAction stops an ongoing run.

public class FrameworkController.StopRunAction : FrameworkController.FrameworkControllerAction
Inheritance
FrameworkController.StopRunAction
Inherited Members

Constructors

StopRunAction(FrameworkController, bool, object)

Construct a StopRunAction and stop any ongoing run. If no run is in process, no error is raised.

public StopRunAction(FrameworkController controller, bool force, object handler)

Parameters

controller FrameworkController

The FrameworkController for which a run is to be stopped.

force bool

True the stop should be forced, false for a cooperative stop.

handler object

A callback handler used to report results

Remarks

A forced stop will cause threads and processes to be killed as needed.