JsEnumerateHeap() private method

private JsEnumerateHeap ( IActiveScriptProfilerHeapEnum &enumerator ) : JavaScriptErrorCode
enumerator IActiveScriptProfilerHeapEnum
return JavaScriptErrorCode
コード例 #1
0
 /// <summary>
 /// Enumerates the heap of the current context.
 /// </summary>
 /// <remarks>
 /// <para>
 /// While the heap is being enumerated, the current context cannot be removed, and all calls to
 /// modify the state of the context will fail until the heap enumerator is released.
 /// </para>
 /// <para>
 /// Requires an active script context.
 /// </para>
 /// </remarks>
 /// <returns>A heap enumerator.</returns>
 public static Native.IActiveScriptProfilerHeapEnum EnumerateHeap()
 {
     Native.IActiveScriptProfilerHeapEnum enumerator;
     Native.ThrowIfError(Native.JsEnumerateHeap(out enumerator));
     return(enumerator);
 }