DkmLaunchNonDebugProcessAsyncResult Struct

Definition

Result of an asynchronous DkmProcessLaunchRequest.LaunchProcess call.

C#
public struct DkmLaunchNonDebugProcessAsyncResult
Inheritance
DkmLaunchNonDebugProcessAsyncResult

Constructors

DkmLaunchNonDebugProcessAsyncResult(DkmNonDebugProcess)

Creates a new result structure to hold the output from a successful call to DkmProcessLaunchRequest.LaunchProcess.

Properties

ErrorCode

HRESULT code returned from the caller. This will be DkmExceptionCode.COR_E_OPERATIONCANCELED (0x8013153B) if the operation was canceled before processing was complete.

LaunchedProcess

DkmNonDebugProcess represents a process which was started in 'Start Without Debugging' (Ctrl-F5) scenarios. It provides functionality needed to track the lifetime of these processes.

This API was introduced in Visual Studio 16 Update 9 (DkmApiVersion.VS16Update9).

Methods

CreateErrorResult(Exception)

Creates a new result structure to hold the error from a failed call to DkmProcessLaunchRequest.LaunchProcess.

Applies to

Produkt Verzie
Visual Studio SDK 2022