Search Results for

    Show / Hide Table of Contents

    Class FrameworkController.StopRunAction

    StopRunAction stops an ongoing run.

    Inheritance
    object
    MarshalByRefObject
    LongLivedMarshalByRefObject
    FrameworkController.FrameworkControllerAction
    FrameworkController.StopRunAction
    Inherited Members
    LongLivedMarshalByRefObject.InitializeLifetimeService()
    MarshalByRefObject.GetLifetimeService()
    MarshalByRefObject.MemberwiseClone(bool)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: NUnit.Framework.Api
    Assembly: nunit.framework.dll
    Syntax
    public class FrameworkController.StopRunAction : FrameworkController.FrameworkControllerAction

    Constructors

    View Source

    StopRunAction(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

    A callback handler used to report results

    Remarks

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

    • View Source
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0