DkmExecuteQueryAsyncResult Struct

Definition

Result of an asynchronous DkmCompiledInspectionQuery.Execute call.

C++/WinRT
struct DkmExecuteQueryAsyncResult
Inheritance
DkmExecuteQueryAsyncResult

Constructors

DkmExecuteQueryAsyncResult(DkmILEvaluationResult[], DkmILFailureReason)

Creates a new result structure to hold the output from a successful call to DkmCompiledInspectionQuery.Execute.

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.

FailureReason

If an expected error occurs evaluating the DkmIL, indicates the reason for the failure.

Results

Results of the evaluations. Each ILEvaluationResult object contains an index that indicates which DkmILInstruction in the instructions parameter this result came from. NOTE: some instructions will not return a result.

Methods

CreateErrorResult(Exception)

Creates a new result structure to hold the error from a failed call to DkmCompiledInspectionQuery.Execute.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022