IDkmFrameExceptionInterceptProvider.InterceptCurrentException 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
InterceptCurrentException 用于展开到此帧,就好像该帧上存在异常处理程序。
public:
void InterceptCurrentException(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ frame, Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionInterceptActionFlags interceptAction, [Runtime::InteropServices::Out] System::UInt64 % cookie);
public void InterceptCurrentException (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame frame, Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInterceptActionFlags interceptAction, out ulong cookie);
abstract member InterceptCurrentException : Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInterceptActionFlags * uint64 -> unit
Public Sub InterceptCurrentException (frame As DkmStackWalkFrame, interceptAction As DkmExceptionInterceptActionFlags, ByRef cookie As ULong)
参数
- frame
- DkmStackWalkFrame
中DkmStackWalkFrame 表示调用堆栈上的一个帧,该帧已遍历,但可能未进行格式设置或筛选。 格式化的帧由 DkmStackFrame 表示。
- interceptAction
- DkmExceptionInterceptActionFlags
中指定异常拦截操作。
- cookie
- UInt64
弄表示此截获请求的 Cookie。 发送了异常截获完成事件时,将返回该值。