C# Class NUnit.Framework.Internal.ThreadUtility

The ThreadUtility class encapsulates several static methods useful when working with threads.
Afficher le fichier Open project: nunit/nunit

Méthodes publiques

Méthode Description
Kill ( Thread thread ) : void

Do our best to Kill a thread

Kill ( Thread thread, object stateInfo ) : void

Do our best to kill a thread, passing state info

Method Details

Kill() public static méthode

Do our best to Kill a thread
public static Kill ( Thread thread ) : void
thread Thread The thread to kill
Résultat void

Kill() public static méthode

Do our best to kill a thread, passing state info
public static Kill ( Thread thread, object stateInfo ) : void
thread Thread The thread to kill
stateInfo object Info for the ThreadAbortException handler
Résultat void