ICorDebugExceptionObjectCallStackEnum 介面ICorDebugExceptionObjectCallStackEnum Interface

提供例外狀況物件中內嵌之呼叫堆疊資訊的列舉值。Provides an enumerator for call stack information that is embedded in an exception object. 這個介面是 ICorDebugEnum 介面的子類別。This interface is a subclass of the ICorDebugEnum interface.

方法Methods

方法Method 描述Description
ICorDebugExceptionObjectCallStackEnum:: NextICorDebugExceptionObjectCallStackEnum::Next 取得指定數目的 CorDebugExceptionObjectStackFrame 物件,其中包含有關例外狀況物件之呼叫堆疊的資訊。Gets a specified number of CorDebugExceptionObjectStackFrame objects that contain information about an exception object's call stack.

備註Remarks

介面會實 ICorDebugExceptionObjectCallStackEnum ICorDebugEnum 介面。The ICorDebugExceptionObjectCallStackEnum interface implements the ICorDebugEnum interface.

ICorDebugExceptionObjectCallStackEnum 由呼叫ICorDebugExceptionObjectValue:: EnumerateExceptionCallStack方法,來填入CorDebugExceptionObjectStackFrame物件的實例。An ICorDebugExceptionObjectCallStackEnum instance is populated with CorDebugExceptionObjectStackFrame objects by calling the ICorDebugExceptionObjectValue::EnumerateExceptionCallStack method. 您可以藉由呼叫 ICorDebugExceptionObjectCallStackEnum:: Next 方法來列舉集合中的呼叫堆疊專案The call stack items in the collection can be enumerated by calling the ICorDebugExceptionObjectCallStackEnum::Next method

規格需求Requirements

平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 4.5 起可用Available since 4.5.NET Framework Versions: 自 4.5 起可用Available since 4.5

另請參閱See also