DkmCompileDisplayAttributeInternalAsyncResult Struct

Definition

Result of an asynchronous DkmLanguageExpression.CompileDisplayAttributeInternal call.

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

Constructors

DkmCompileDisplayAttributeInternalAsyncResult(String, DkmCompiledClrInspectionQuery)

Creates a new result structure to hold the output from a successful call to DkmLanguageExpression.CompileDisplayAttributeInternal.

Properties

Error

[Optional] Indicates any error compiling the expression. If the code compiles successfully, this value should be null. In error cases, this value indicates the reason for the compile error and the caller should return S_OK.

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

ErrorCode

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

Result

[Optional] The compiled display attribute. If Result is null, and Error is not null, there was a compile error.

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 DkmLanguageExpression.CompileDisplayAttributeInternal.

Applies to