Sdílet prostřednictvím


DkmCompiledILInspectionQuery.Create Method

Definition

Overloads

Create(DkmRuntimeInstance, ReadOnlyCollection<DkmILInstruction>)

Create a new DkmCompiledILInspectionQuery object instance.

Create(DkmRuntimeInstance, DkmCustomDataContainer, DkmCompilerId, ReadOnlyCollection<DkmILInstruction>)

Create a new DkmCompiledILInspectionQuery object instance.

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

Create(DkmRuntimeInstance, DkmCustomDataContainer, DkmCompilerId, DkmWorkerProcessConnection, ReadOnlyCollection<DkmILInstruction>)

Create a new DkmCompiledILInspectionQuery object instance.

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

Create(DkmRuntimeInstance, ReadOnlyCollection<DkmILInstruction>)

Create a new DkmCompiledILInspectionQuery object instance.

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmCompiledILInspectionQuery ^ Create(Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILInstruction ^> ^ Instructions);
public static Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmCompiledILInspectionQuery Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILInstruction> Instructions);
static member Create : Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILInstruction> -> Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmCompiledILInspectionQuery
Public Shared Function Create (RuntimeInstance As DkmRuntimeInstance, Instructions As ReadOnlyCollection(Of DkmILInstruction)) As DkmCompiledILInspectionQuery

Parameters

RuntimeInstance
DkmRuntimeInstance

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

Instructions
ReadOnlyCollection<DkmILInstruction>

[In] Body of the query.

Returns

[Out] Result of this method call.

Applies to

Create(DkmRuntimeInstance, DkmCustomDataContainer, DkmCompilerId, ReadOnlyCollection<DkmILInstruction>)

Create a new DkmCompiledILInspectionQuery object instance.

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

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

Parameters

RuntimeInstance
DkmRuntimeInstance

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

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<DkmILInstruction>

[In] Body of the query.

Returns

[Out] Result of this method call.

Applies to

Create(DkmRuntimeInstance, DkmCustomDataContainer, DkmCompilerId, DkmWorkerProcessConnection, ReadOnlyCollection<DkmILInstruction>)

Create a new DkmCompiledILInspectionQuery object instance.

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

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

Parameters

RuntimeInstance
DkmRuntimeInstance

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

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<DkmILInstruction>

[In] Body of the query.

Returns

[Out] Result of this method call.

Applies to