IDkmExceptionStackTraceProvider.GetExceptionStackTrace 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与异常关联的捕获堆栈跟踪(如果有)。
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
中提供有关在目标进程中引发的异常的信息。 此信息包括有关引发的异常和异常处理的当前阶段的详细信息。
返回
[Out,Optional]在引发异常时正在运行的帧的数组。