DkmTerminateAppPackageAsyncResult.CreateErrorResult(Exception) 方法

定义

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

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

参数

exception
Exception

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

返回

适用于