Metodo ICorDebugNativeFrame2::IsMatchingParentFrame

Determina se il frame specificato è l'elemento padre del frame corrente.

Sintassi

HRESULT IsMatchingParentFrame([in] ICorDebugNativeFrame2  
                                      *pPotentialParentFrame,  
                              [out] BOOL *pIsParent);  

Parametri

pPotentialParentFrame
[in] Puntatore all'oggetto frame da valutare per lo stato padre.

pIsParent
[out] true se pPotentialParentFrame è l'elemento padre del frame corrente; in caso contrario, false.

Valore restituito

Questo metodo restituisce gli specifici HRESULT seguenti, nonché gli errori di HRESULT che indicano la mancata riuscita del metodo.

HRESULT Descrizione
S_OK Lo stato padre è stato restituito correttamente.
E_FAIL Impossibile restituire lo stato padre.
E_INVALIDARG pPotentialParentFrame o pIsParent è null.

Eccezioni

Osservazioni

IsMatchingParentFrame restituisce true se l'oggetto frame passato al metodo è l'elemento padre dell'oggetto frame in cui è stato chiamato il metodo. Se si chiama il metodo in un frame che non è figlio del frame specificato, restituisce un errore.

Requisiti

Piattaforme: vedere Requisiti di sistema di .NET Framework.

Intestazione: CorDebug.idl, CorDebug.h

Libreria: CorGuids.lib

Versioni di .NET Framework: Disponibile da 4

Vedi anche