IDkmExceptionStackTraceProvider.GetExceptionStackTrace 方法

定义

获取与异常关联的捕获堆栈跟踪(如果有)。

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^> ^ GetExceptionStackTrace(Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionInformation ^ exception);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.DkmInstructionAddress> GetExceptionStackTrace (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInformation exception);
abstract member GetExceptionStackTrace : Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInformation -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.DkmInstructionAddress>
Public Function GetExceptionStackTrace (exception As DkmExceptionInformation) As ReadOnlyCollection(Of DkmInstructionAddress)

参数

exception
DkmExceptionInformation

中提供有关在目标进程中引发的异常的信息。 此信息包括有关引发的异常和异常处理的当前阶段的详细信息。

返回

ReadOnlyCollection<DkmInstructionAddress>

[Out,Optional]在引发异常时正在运行的帧的数组。

适用于