IActiveScriptProfilerControl3::EnumHeap Method

Returns an interface (IActiveScriptProfilerHeapEnum Interface) that can be used to iterate over the GC heap objects in the context of the associated script engine.

You can call this method in either debug or release mode. This method should be called when UI thread is idle. After the method has been called, no operations should be performed against the script engine except IActiveScriptProfilerHeapEnum::Next Method until IActiveScriptProfilerHeapEnum::Next Method returns S_FALSE or the IActiveScriptProfilerHeapEnum Interface interface pointer is released.

Syntax

HRESULT EnumHeap([out] IActiveScriptProfilerHeapEnum** ppEnum);  

Parameters

ppEnum
[out] Returns the IActiveScriptProfilerHeapEnum Interface.

Return Value

The HRESULT.