JsStopProfiling() private method

private JsStopProfiling ( int reason ) : JsErrorCode
reason int
return JsErrorCode
Beispiel #1
0
 /// <summary>
 /// Stops profiling in the current context
 /// </summary>
 /// <remarks>
 /// <para>
 /// Will not return an error if profiling has not started.
 /// </para>
 /// <para>
 /// Requires an active script context.
 /// </para>
 /// </remarks>
 /// <param name="reason">The reason for stopping profiling to pass to the profiler callback</param>
 public static void StopProfiling(int reason)
 {
     IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsStopProfiling(reason));
 }