Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Starts profiling in the current context.
Syntax
STDAPI_(JsErrorCode) JsStartProfiling(
_In_ IActiveScriptProfilerCallback *callback,
_In_ PROFILER_EVENT_MASK eventMask,
_In_ unsigned long context
);
Parameters
callback
The profiling callback to use.
eventMask
The profiling events to callback with.
context
A context to pass to the profiling callback.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
Requires an active script context.
This API is supported in desktop apps, but is not supported in Store apps.
Requirements
Header: jsrt.h