示例#1
0
 public static extern JavaScriptErrorCode JsStartProfiling(IActiveScriptProfilerCallback callback, ProfilerEventMask eventMask, int context);
示例#2
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));
 }
		internal static extern JsErrorCode JsStartProfiling(IActiveScriptProfilerCallback callback, ProfilerEventMask eventMask, int context);
 /// <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">A context to pass to the profiling callback</param>
 public static void StartProfiling(IActiveScriptProfilerCallback callback, ProfilerEventMask eventMask, int context)
 {
     EdgeJsErrorHelpers.ThrowIfError(EdgeNativeMethods.JsStartProfiling(callback, eventMask, context));
 }