Partager via


IActiveScriptProfilerCallback::OnFunctionExit

Notifies the profiler object that the scripting engine finished executing a function call that is not a call into the Document Object Model (DOM).

Syntax

HRESULT OnFunctionExit(  
    [in] PROFILER_TOKEN scriptId,   
    [in] PROFILER_TOKEN functionId);  

Parameters

scriptId
[in] The unique ID of the script that the function is part of. This ID is assigned by the scripting engine.

functionId
[in] The unique ID of the function. This ID is assigned by the scripting engine.

Return Value

The return value of this method is ignored by the scripting engine.

Remarks

For DOM calls, the scripting engine calls IActiveScriptProfilerCallback2::OnFunctionExitByName instead of IActiveScriptProfilerCallback::OnFunctionExit. This is due to the large number of unique methods and properties in the DOM.

See also

IActiveScriptProfilerCallback::OnFunctionEnter
IActiveScriptProfilerCallback Interface