Metodo ICorProfilerInfo3::GetFunctionLeave3Info

Fornisce il frame dello stack e il valore restituito della funzione che viene segnalato al profiler dalla funzione FunctionLeave3WithInfo . Questo metodo può essere chiamato solo durante il callback FunctionLeave3WithInfo.

Sintassi

HRESULT GetFunctionLeave3Info(  
            [in]  FunctionID functionId,  
            [in]  COR_PRF_ELT_INFO eltInfo,  
            [out] COR_PRF_FRAME_INFO *pFrameInfo,  
            [out] COR_PRF_FUNCTION_ARGUMENT_RANGE *pRetvalRange);  

Parametri

functionId
[in] Oggetto FunctionID della funzione restituita.

eltInfo
[in] Handle opaco che rappresenta le informazioni su un determinato stack frame. Il profiler deve fornire lo stesso eltInfo che è stato assegnato al profiler dalla funzione FunctionLeave3WithInfo .

pFrameInfo
[out] Handle opaco che rappresenta le informazioni sui generics relative a un determinato stack frame. Questo handle è valido solo durante il callback FunctionLeave3WithInfo in cui il profiler ha chiamato il metodo GetFunctionLeave3Info.

pRetvalRange
[out] Puntatore a una struttura COR_PRF_FUNCTION_ARGUMENT_RANGE contenente il valore restituito dalla funzione. Per accedere alle informazioni sul valore restituite, è necessario impostare il COR_PRF_ENABLE_FUNCTION_RETVAL flag. Il profiler può usare il metodo ICorProfilerInfo::SetEventMask per impostare i flag di evento.

Osservazioni

Requisiti

Piattaforme: vedere Requisiti di sistema di .NET Framework.

Intestazione: CorProf.idl, CorProf.h

Libreria: CorGuids.lib

Versioni di .NET Framework: Disponibile da 4

Vedi anche