Compartilhar via


DkmEvaluateReturnValueAsyncResult2 Struct

Definition

Result of an asynchronous DkmInspectionContext.EvaluateReturnValue2 call.

public value class DkmEvaluateReturnValueAsyncResult2
struct DkmEvaluateReturnValueAsyncResult2
public struct DkmEvaluateReturnValueAsyncResult2
type DkmEvaluateReturnValueAsyncResult2 = struct
Public Structure DkmEvaluateReturnValueAsyncResult2
Inheritance
DkmEvaluateReturnValueAsyncResult2

Constructors

DkmEvaluateReturnValueAsyncResult2(DkmEvaluationResult)

Creates a new result structure to hold the output from a successful call to DkmInspectionContext.EvaluateReturnValue2.

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. E_PROCESS_DESTROYED indicates that the process exited while attempting to evaluate.

ResultObject

[Optional] Object containing the result of the evaluation. This object must be closed by the caller when the caller is done with the object. If not present, the function had no return value.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

Methods

CreateErrorResult(Exception)

Creates a new result structure to hold the error from a failed call to DkmInspectionContext.EvaluateReturnValue2.

Applies to