DkmDisableBoundBreakpointAsyncResult.CreateErrorResult(Exception) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新的结果结构,用于保存对 DkmBoundBreakpoint 的调用失败的错误。
public:
static Microsoft::VisualStudio::Debugger::Breakpoints::DkmDisableBoundBreakpointAsyncResult CreateErrorResult(Exception ^ exception);
public static Microsoft.VisualStudio.Debugger.Breakpoints.DkmDisableBoundBreakpointAsyncResult CreateErrorResult (Exception exception);
static member CreateErrorResult : Exception -> Microsoft.VisualStudio.Debugger.Breakpoints.DkmDisableBoundBreakpointAsyncResult
Public Shared Function CreateErrorResult (exception As Exception) As DkmDisableBoundBreakpointAsyncResult
参数
- exception
- Exception
[In] 包含错误的异常对象
返回
返回 DkmDisableBoundBreakpointAsyncResult。