C# Class Utilities.Threading.ThreadExtensions

Extension methods around Thread
Afficher le fichier Open project: mrvshah/Utilities

Méthodes publiques

Méthode Description
TrySetName ( this thread, string name ) : bool

InvalidOperationException is thrown if an attempt is made to rename thread. This extension method tries to set the name of the thread and returns a success or failure.

Method Details

TrySetName() public static méthode

InvalidOperationException is thrown if an attempt is made to rename thread. This extension method tries to set the name of the thread and returns a success or failure.
public static TrySetName ( this thread, string name ) : bool
thread this The thread
name string The name of the thread
Résultat bool