DkmCompiledClrInspectionQuery Class

Definition

Represents an evaluation query that has been compiled to managed IL code.

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

public ref class DkmCompiledClrInspectionQuery : Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmCompiledClrInspectionQuery : Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery
[Windows::Foundation::Metadata::WebHostHidden]
class DkmCompiledClrInspectionQuery : Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery
[System.Runtime.InteropServices.Guid("db5318eb-4272-2f7d-0a92-3697769aba6b")]
public class DkmCompiledClrInspectionQuery : Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery
[<System.Runtime.InteropServices.Guid("db5318eb-4272-2f7d-0a92-3697769aba6b")>]
type DkmCompiledClrInspectionQuery = class
    inherit DkmCompiledInspectionQuery
Public Class DkmCompiledClrInspectionQuery
Inherits DkmCompiledInspectionQuery
Inheritance
DkmCompiledClrInspectionQuery
Attributes

Properties

Access

[Optional] The access control level (public, private, etc) of the evaluation result.

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

Binary

Binary of the query assembly.

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

CompilationFlags

[Optional] Flags, provided by the compiler, describing the inspection query.

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

CustomTypeInfo

[Optional] The optional information provided to the result formatter for identifying compiler intrinsic type information.

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

DataContainer

[Optional] Custom Data to associate with this inspection query. It will persist as long as the query has the potential to execute.

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

(Inherited from DkmCompiledInspectionQuery)
FormatSpecifiers

[Optional] The format specifier(s) to use when formatting the result of this query.

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

LanguageId

The language of the expression evaluator that created this query.

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

(Inherited from DkmCompiledInspectionQuery)
MethodName

The name of the query method.

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

QueryKind

Indicates the type of inspection query. This is used to select a component to process the query.

(Inherited from DkmCompiledInspectionQuery)
ResultCategory

[Optional] What category this variable belongs to, this controls the glyph displayed in the evaluation windows.

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

RuntimeInstance

The DkmRuntimeInstance class represents an execution environment which is loaded into a DkmProcess and which contains code to be debugged.

(Inherited from DkmCompiledInspectionQuery)
SourceWorkerProcess

[Optional] If non-null, the worker process where the inspection query was created.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTMPreview).

(Inherited from DkmCompiledInspectionQuery)
StorageType

[Optional] The storage type (ex: static) of the evaluation result.

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

TagValue

DkmCompiledInspectionQuery is an abstract base class. This enum indicates which derived class this object is an instance of.

(Inherited from DkmCompiledInspectionQuery)
TypeModifierFlags

[Optional] Type modifier flags (ex: const) of the evaluation result.

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

TypeName

The fully qualified name of the type containing the query method.

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

UniqueId

Guid which uniquely identifies this query.

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

Methods

Close()

Closes this compiled inspection query. This should be called at the point in which the query will no longer execute.

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

(Inherited from DkmCompiledInspectionQuery)
Create(DkmRuntimeInstance, DkmCustomDataContainer, DkmCompilerId, DkmWorkerProcessConnection, ReadOnlyCollection<Byte>, String, String, ReadOnlyCollection<String>, DkmClrCompilationResultFlags, DkmEvaluationResultCategory, DkmEvaluationResultAccessType, DkmEvaluationResultStorageType, DkmEvaluationResultTypeModifierFlags, DkmClrCustomTypeInfo)

Create a new DkmCompiledClrInspectionQuery object instance.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTMPreview).

Create(DkmRuntimeInstance, DkmCustomDataContainer, DkmCompilerId, ReadOnlyCollection<Byte>, String, String, ReadOnlyCollection<String>, DkmClrCompilationResultFlags, DkmEvaluationResultCategory, DkmEvaluationResultAccessType, DkmEvaluationResultStorageType, DkmEvaluationResultTypeModifierFlags, DkmClrCustomTypeInfo)

Create a new DkmCompiledClrInspectionQuery object instance.

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

Execute(DkmWorkList, DkmInspectionContext, DkmILContext, String, DkmCompletionRoutine<DkmExecuteClrInspectionQueryAsyncResult>)

Execute a compiled inspection query and returns the result as a list of formatted DkmEvaluationResults.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

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

Execute(DkmWorkList, ReadOnlyCollection<DkmILParameterValue>, DkmILContext, UInt32, DkmFuncEvalFlags, DkmCompletionRoutine<DkmExecuteQueryAsyncResult>)

Executes a compiled inspection query and returns any results.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

(Inherited from DkmCompiledInspectionQuery)
Execute(ReadOnlyCollection<DkmILParameterValue>, DkmILContext, UInt32, DkmFuncEvalFlags, DkmILFailureReason)

Executes a compiled inspection query and returns any results.

(Inherited from DkmCompiledInspectionQuery)
ResolveILFailureReason(DkmILFailureReason)

Resolves a DkmILFailureReason into an error message. This is used to produce the error message for a condition breakpoint.

Location constraint: API must be called from an IDE component (component level > 100,000).

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

(Inherited from DkmCompiledInspectionQuery)

Applies to