หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Gets an enumerator to the call stack embedded in an exception object.
Syntax
HRESULT EnumerateExceptionCallStack(
[out] ICorDebugExceptionObjectCallStackEnum **ppCallStackEnum
);
Parameters
ppCallStackEnum [out] A pointer to the address of an ICorDebugExceptionObjectCallStackEnum interface object that is a stack trace enumerator for a managed exception object.
Remarks
If no call stack information is available, the method returns S_OK, and ICorDebugExceptionObjectCallStackEnum is a valid enumerator with a length of 0. If the method is unable to retrieve stack trace information, the return value is E_FAIL and no enumerator is returned.
The ICorDebugExceptionObjectCallStackEnum object is responsible for decoding the stack trace data from the _stackTrace field of the exception object.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 4.5