Table of Contents

Class ThreadUtility

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

ThreadUtility provides a set of static methods convenient for working with threads.

public static class ThreadUtility
Inheritance
ThreadUtility
Inherited Members

Methods

Kill(Thread)

Do our best to Kill a thread

public static void Kill(Thread thread)

Parameters

thread Thread

The thread to kill

Kill(Thread, object)

Do our best to kill a thread, passing state info

public static void Kill(Thread thread, object stateInfo)

Parameters

thread Thread

The thread to kill

stateInfo object

Info for the ThreadAbortException handler