Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
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