共用方式為


ICorDebugExceptionObjectCallStackEnum::Next 方法

取得指定數目的 CorDebugExceptionObjectStackFrame 實例,其中包含來自例外狀況物件呼叫堆疊的資訊。

語法

HRESULT Next(
    [in] ULONG celt,
    [out, size_is(celt), length_is(*pceltFetched)] CorDebugExceptionObjectStackFrame values[],
    [out] ULONG *pceltFetched
);

參數

celt [在]要擷取的 CorDebugExceptionObjectStackFrame 實例數目。

values [出]指標陣列,每個指標都指向 CorDebugExceptionObjectStackFrame 物件。

pceltFetched [出]實際傳回的 CorDebugExceptionObjectStackFrame 實例數目的指標。

備註

需求

平台: 請參閱 .NET 支援的作業系統

標題: CorDebug.idl、CorDebug.h

圖書館: CorGuids.lib

.NET 版本: 自 .NET Framework 4.5 起提供

另請參閱