Partager via


IActiveScriptProfilerCallback2::OnFunctionExitByName

Notifies the profiler object that the scripting engine finished running a Document Object Model (DOM) function call.

Syntax

HRESULT OnFunctionExitByName(  
    [in] [string] const WCHAR *pwszFunctionName,  
    [in] PROFILER_SCRIPT_TYPE scriptType);  
  

Parameters

pwszFunctionName
[in] The name of the function that the scripting engine finished running.

scriptType
[in] The type of the function. For descriptions of valid values, see PROFILER_SCRIPT_TYPE Enumeration.

Return Value

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

Remarks

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

See also

IActiveScriptProfilerCallback2::OnFunctionEnterByName
IActiveScriptProfilerCallback2 Interface