JsStartProfiling() private method

private JsStartProfiling ( IActiveScriptProfilerCallback callback, ProfilerEventMask eventMask, int context ) : JsErrorCode
callback IActiveScriptProfilerCallback
eventMask ProfilerEventMask
context int
return JsErrorCode
コード例 #1
0
 /// <summary>
 /// Starts profiling in the current context
 /// </summary>
 /// <remarks>
 /// Requires an active script context.
 /// </remarks>
 /// <param name="callback">The profiling callback to use</param>
 /// <param name="eventMask">The profiling events to callback with</param>
 /// <param name="context">The context to pass to the profiling callback</param>
 public static void StartProfiling(IActiveScriptProfilerCallback callback, ProfilerEventMask eventMask, int context)
 {
     IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsStartProfiling(callback, eventMask, context));
 }