DkmCompiledClrLocalsQuery.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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). |
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).
public:
static Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmCompiledClrLocalsQuery ^ Create(Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, Microsoft::VisualStudio::Debugger::Evaluation::DkmCustomDataContainer ^ DataContainer, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompilerId LanguageId, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ Binary, System::String ^ TypeName, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrLocalVariableInfo ^> ^ LocalInfo);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrLocalsQuery Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer DataContainer, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId LanguageId, System.Collections.ObjectModel.ReadOnlyCollection<byte> Binary, string TypeName, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrLocalVariableInfo> LocalInfo);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrLocalsQuery Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer? DataContainer, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId LanguageId, System.Collections.ObjectModel.ReadOnlyCollection<byte> Binary, string TypeName, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrLocalVariableInfo> LocalInfo);
static member Create : Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId * System.Collections.ObjectModel.ReadOnlyCollection<byte> * string * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrLocalVariableInfo> -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrLocalsQuery
Public Shared Function Create (RuntimeInstance As DkmRuntimeInstance, DataContainer As DkmCustomDataContainer, LanguageId As DkmCompilerId, Binary As ReadOnlyCollection(Of Byte), TypeName As String, LocalInfo As ReadOnlyCollection(Of DkmClrLocalVariableInfo)) As DkmCompiledClrLocalsQuery
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.
- Binary
- ReadOnlyCollection<Byte>
[In] Binary of the query assembly.
- TypeName
- String
[In] The fully qualified name of the type containing the query method.
- LocalInfo
- ReadOnlyCollection<DkmClrLocalVariableInfo>
[In] The collection of local variable names and method names on the query type to get the values.
Returns
[Out] Result of this method call.
Applies to
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).
public:
static Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmCompiledClrLocalsQuery ^ 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<System::Byte> ^ Binary, System::String ^ TypeName, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrLocalVariableInfo ^> ^ LocalInfo);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrLocalsQuery 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<byte> Binary, string TypeName, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrLocalVariableInfo> LocalInfo);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrLocalsQuery 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<byte> Binary, string TypeName, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrLocalVariableInfo> LocalInfo);
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<byte> * string * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrLocalVariableInfo> -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrLocalsQuery
Public Shared Function Create (RuntimeInstance As DkmRuntimeInstance, DataContainer As DkmCustomDataContainer, LanguageId As DkmCompilerId, SourceWorkerProcess As DkmWorkerProcessConnection, Binary As ReadOnlyCollection(Of Byte), TypeName As String, LocalInfo As ReadOnlyCollection(Of DkmClrLocalVariableInfo)) As DkmCompiledClrLocalsQuery
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.
- Binary
- ReadOnlyCollection<Byte>
[In] Binary of the query assembly.
- TypeName
- String
[In] The fully qualified name of the type containing the query method.
- LocalInfo
- ReadOnlyCollection<DkmClrLocalVariableInfo>
[In] The collection of local variable names and method names on the query type to get the values.
Returns
[Out] Result of this method call.