DkmTryPushConditionToTargetDeviceAsyncResult.CreateErrorResult 方法

定义

创建一个新的结果结构,用于保存对 DkmRuntimeInstructionBreakpoint 的调用失败的错误。 TryPushConditionToTargetDevice。

public:
 static Microsoft::VisualStudio::Debugger::Breakpoints::DkmTryPushConditionToTargetDeviceAsyncResult CreateErrorResult(Exception ^ exception);
public static Microsoft.VisualStudio.Debugger.Breakpoints.DkmTryPushConditionToTargetDeviceAsyncResult CreateErrorResult (Exception exception);
static member CreateErrorResult : Exception -> Microsoft.VisualStudio.Debugger.Breakpoints.DkmTryPushConditionToTargetDeviceAsyncResult
Public Shared Function CreateErrorResult (exception As Exception) As DkmTryPushConditionToTargetDeviceAsyncResult

参数

exception
Exception

[In] 包含错误的异常对象

返回

DkmTryPushConditionToTargetDeviceAsyncResult

返回 DkmTryPushConditionToTargetDeviceAsyncResult

适用于