Редагувати

Поділитися через


ICorDebugVirtualUnwinder::Next Method

Advances to the caller's context.

Syntax

HRESULT Next();

Parameters

None.

Return Value

S_OK if the unwind occurred successfully, or CORDBG_S_AT_END_OF_STACK if the unwind cannot be completed because there are no more frames.

If a failing HRESULT is returned, ICorDebug APIs will return CORDBG_E_DATA_TARGET_ERROR.

Remarks

The stack walker should ensure that it makes forward progress, so that eventually a call to Next will return a failing HRESULT or CORDBG_S_AT_END_OF_STACK. Returning S_OK indefinitely may cause an infinite loop.

Note

This method is available with .NET Native only.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.6, .NET Native only

See also