DkmCompiledCustomInspectionQuery.Create Method

Definition

Overloads

Create(DkmRuntimeInstance, Guid, ReadOnlyCollection<Byte>)

Create a new DkmCompiledCustomInspectionQuery object instance.

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

Create a new DkmCompiledCustomInspectionQuery object instance.

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledCustomInspectionQuery ^ Create(Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, Guid QueryKind, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ Instructions);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledCustomInspectionQuery Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Guid QueryKind, System.Collections.ObjectModel.ReadOnlyCollection<byte> Instructions);
static member Create : Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Guid * System.Collections.ObjectModel.ReadOnlyCollection<byte> -> Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledCustomInspectionQuery
Public Shared Function Create (RuntimeInstance As DkmRuntimeInstance, QueryKind As Guid, Instructions As ReadOnlyCollection(Of Byte)) As DkmCompiledCustomInspectionQuery

Parameters

RuntimeInstance
DkmRuntimeInstance

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

QueryKind
Guid

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

Instructions
ReadOnlyCollection<Byte>

[In] Body of the query.

Returns

[Out] Result of this method call.

Applies to

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

Create a new DkmCompiledCustomInspectionQuery object instance.

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

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledCustomInspectionQuery ^ Create(Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, Guid QueryKind, Microsoft::VisualStudio::Debugger::Evaluation::DkmCustomDataContainer ^ DataContainer, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompilerId LanguageId, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ Instructions);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledCustomInspectionQuery Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Guid QueryKind, Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer DataContainer, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId LanguageId, System.Collections.ObjectModel.ReadOnlyCollection<byte> Instructions);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledCustomInspectionQuery Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Guid QueryKind, Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer? DataContainer, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId LanguageId, System.Collections.ObjectModel.ReadOnlyCollection<byte> Instructions);
static member Create : Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Guid * Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId * System.Collections.ObjectModel.ReadOnlyCollection<byte> -> Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledCustomInspectionQuery
Public Shared Function Create (RuntimeInstance As DkmRuntimeInstance, QueryKind As Guid, DataContainer As DkmCustomDataContainer, LanguageId As DkmCompilerId, Instructions As ReadOnlyCollection(Of Byte)) As DkmCompiledCustomInspectionQuery

Parameters

RuntimeInstance
DkmRuntimeInstance

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

QueryKind
Guid

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

DataContainer
DkmCustomDataContainer

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

LanguageId
DkmCompilerId

[In] The language of the expression evaluator that created this query.

Instructions
ReadOnlyCollection<Byte>

[In] Body of the query.

Returns

[Out] Result of this method call.

Applies to

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

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledCustomInspectionQuery ^ Create(Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, Guid QueryKind, Microsoft::VisualStudio::Debugger::Evaluation::DkmCustomDataContainer ^ DataContainer, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompilerId LanguageId, Microsoft::VisualStudio::Debugger::DefaultPort::DkmWorkerProcessConnection ^ SourceWorkerProcess, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ Instructions);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledCustomInspectionQuery Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Guid QueryKind, Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer DataContainer, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId LanguageId, Microsoft.VisualStudio.Debugger.DefaultPort.DkmWorkerProcessConnection SourceWorkerProcess, System.Collections.ObjectModel.ReadOnlyCollection<byte> Instructions);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledCustomInspectionQuery Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Guid QueryKind, Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer? DataContainer, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId LanguageId, Microsoft.VisualStudio.Debugger.DefaultPort.DkmWorkerProcessConnection? SourceWorkerProcess, System.Collections.ObjectModel.ReadOnlyCollection<byte> Instructions);
static member Create : Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Guid * Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId * Microsoft.VisualStudio.Debugger.DefaultPort.DkmWorkerProcessConnection * System.Collections.ObjectModel.ReadOnlyCollection<byte> -> Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledCustomInspectionQuery
Public Shared Function Create (RuntimeInstance As DkmRuntimeInstance, QueryKind As Guid, DataContainer As DkmCustomDataContainer, LanguageId As DkmCompilerId, SourceWorkerProcess As DkmWorkerProcessConnection, Instructions As ReadOnlyCollection(Of Byte)) As DkmCompiledCustomInspectionQuery

Parameters

RuntimeInstance
DkmRuntimeInstance

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

QueryKind
Guid

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

DataContainer
DkmCustomDataContainer

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

LanguageId
DkmCompilerId

[In] The language of the expression evaluator that created this query.

SourceWorkerProcess
DkmWorkerProcessConnection

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

Instructions
ReadOnlyCollection<Byte>

[In] Body of the query.

Returns

[Out] Result of this method call.

Applies to