DkmLaunchNonDebugProcessAsyncResult.CreateErrorResult(Exception) 方法

定義

建立新的結果結構,以保存來自 DkmProcessLaunchRequest.LaunchProcess 失敗呼叫的錯誤。

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

參數

exception
Exception

[In] 包含錯誤的例外狀況物件

傳回

適用於