ICorDebugExceptionObjectCallStackEnum::Next 方法

获取指定数量的 CorDebugExceptionObjectStackFrame 实例,这些实例包含来自异常对象调用堆栈中的信息。

语法

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

参数

celt
[in] 要检索的 CorDebugExceptionObjectStackFrame 实例数量。

values
[out] 指针数组,其中每个指针指向 CorDebugExceptionObjectStackFrame 对象。

pceltFetched
[out] 指向实际返回的 CorDebugExceptionObjectStackFrame 实例数量的指针。

备注

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 4.5 起可用

请参阅