Freigeben über


DkmCompiledClrLocalsQuery Class

Definition

Represents a query to populate local variable information using managed IL code.

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

public ref class DkmCompiledClrLocalsQuery : Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmCompiledClrLocalsQuery : Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery
[Windows::Foundation::Metadata::WebHostHidden]
class DkmCompiledClrLocalsQuery : Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery
[System.Runtime.InteropServices.Guid("cff3eb78-ae76-a013-0883-b6da3594048e")]
public class DkmCompiledClrLocalsQuery : Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery
[<System.Runtime.InteropServices.Guid("cff3eb78-ae76-a013-0883-b6da3594048e")>]
type DkmCompiledClrLocalsQuery = class
    inherit DkmCompiledInspectionQuery
Public Class DkmCompiledClrLocalsQuery
Inherits DkmCompiledInspectionQuery
Inheritance
DkmCompiledClrLocalsQuery
Attributes

Properties

Binary

Binary of the query assembly.

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

The collection of local variable names and method names on the query type to get the values.

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)
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)
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, ReadOnlyCollection<DkmClrLocalVariableInfo>)

Create a new DkmCompiledClrLocalsQuery object instance.

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

Create(DkmRuntimeInstance, DkmCustomDataContainer, DkmCompilerId, ReadOnlyCollection<Byte>, String, ReadOnlyCollection<DkmClrLocalVariableInfo>)

Create a new DkmCompiledClrLocalsQuery object instance.

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)
GetLocalValues(DkmWorkList, DkmInspectionContext, DkmILContext, Int32, Int32, DkmCompletionRoutine<DkmGetLocalValuesAsyncResult>)

Execute a compiled inspection query to get a set of local variable values 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).

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