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.
|
public static TrySetName ( this thread, string name ) : bool | ||
thread | this | The thread |
name | string | The name of the thread |
Résultat | bool |