ICorProfilerCallback2::ThreadNameChanged, méthode

Avertit le profileur de code que le nom d’un thread a changé.

Syntaxe

HRESULT ThreadNameChanged(  
    [in] ThreadID threadId,  
    [in] ULONG cchName,  
    [in] WCHAR name[]);  

Paramètres

threadId
[in] ID du thread.

cchName
[in] Longueur du nouveau nom du thread.

name
[in] Nouveau nom du thread. Le nom ne se termine pas par un caractère Null.

Spécifications

Plateformes : Consultez Configuration requise.

En-tête : CorProf.idl, CorProf.h

Bibliothèque : CorGuids.lib

Versions de .NET Framework : Disponible depuis la version 2.0

Voir aussi