ICorProfilerCallback2::ThreadNameChanged Method
Notifies the code profiler that the name of a thread has changed.
Syntax
HRESULT ThreadNameChanged(
[in] ThreadID threadId,
[in] ULONG cchName,
[in] WCHAR name[]);
Parameters
threadId
[in] The ID of the thread.
cchName
[in] The length of the new name of the thread.
name
[in] The new name of the thread. The name is not null-terminated.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.