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.
Checks whether the this internal frame is closer to the leaf than the specified ICorDebugFrame object.
Syntax
HRESULT IsCloserToLeaf([in] ICorDebugFrame * pFrameToCompare,
[out] BOOL * pIsCloser);
Parameters
pFrameToCompare
[in] A pointer to the comparison ICorDebugFrame object.
pIsCloser
[out] true if the this internal frame is closer to the leaf than the frame specified by pFrameToCompare; otherwise, false.
Return Value
This method returns the following specific HRESULTs as well as HRESULT errors that indicate method failure.
| HRESULT | Description |
|---|---|
| S_OK | The comparison was successfully performed. |
| E_FAIL | The comparison could not be performed. |
| E_INVALIDARG | pFrameToCompare or pIsCloser is null. |
Remarks
IsCloserToLeaf can be used to implement a policy for interleaving internal frames with other frames on the stack.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 4.0