ICorProfilerCallback::ThreadCreated Method

Notifies the profiler that a thread has been created.

HRESULT ThreadCreated(
    [in] ThreadID threadId); 

Parameters

  • threadId
    [in] The ID of the thread that has been created.

Remarks

The threadId value is immediately valid.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorProfilerCallback Interface

ICorProfilerCallback::ThreadDestroyed Method