Compartilhar via


DkmCompiledCustomInspectionQuery Class

Definition

An inspection query compiled to a custom format. The RuntimeType indicates the format of the query.

public ref class DkmCompiledCustomInspectionQuery : Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmCompiledCustomInspectionQuery : Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery
[Windows::Foundation::Metadata::WebHostHidden]
class DkmCompiledCustomInspectionQuery : Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery
[System.Runtime.InteropServices.Guid("951e8d5e-e5f3-78d8-3492-0b2615b06e42")]
public class DkmCompiledCustomInspectionQuery : Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery
[<System.Runtime.InteropServices.Guid("951e8d5e-e5f3-78d8-3492-0b2615b06e42")>]
type DkmCompiledCustomInspectionQuery = class
    inherit DkmCompiledInspectionQuery
Public Class DkmCompiledCustomInspectionQuery
Inherits DkmCompiledInspectionQuery
Inheritance
DkmCompiledCustomInspectionQuery
Attributes

Properties

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)
Instructions

Body of the query.

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)
QueryKind

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

(Inherited from DkmCompiledInspectionQuery)
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)
TagValue

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

(Inherited from DkmCompiledInspectionQuery)

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, Guid, DkmCustomDataContainer, DkmCompilerId, DkmWorkerProcessConnection, ReadOnlyCollection<Byte>)

Create a new DkmCompiledCustomInspectionQuery object instance.

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

Create(DkmRuntimeInstance, Guid, DkmCustomDataContainer, DkmCompilerId, ReadOnlyCollection<Byte>)

Create a new DkmCompiledCustomInspectionQuery object instance.

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

Create(DkmRuntimeInstance, Guid, ReadOnlyCollection<Byte>)

Create a new DkmCompiledCustomInspectionQuery object instance.

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