ICorProfilerCallback::ThreadDestroyed Method

Notifies the profiler that a thread has been destroyed.

HRESULT ThreadDestroyed(
    [in] ThreadID threadId);

Parameters

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

Remarks

The threadId value is no longer valid at the time of this call.

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::ThreadCreated Method