DkmCompiledClrInspectionQuery.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, String, ReadOnlyCollection<String>, DkmClrCompilationResultFlags, DkmEvaluationResultCategory, DkmEvaluationResultAccessType, DkmEvaluationResultStorageType, DkmEvaluationResultTypeModifierFlags, DkmClrCustomTypeInfo) |
Create a new DkmCompiledClrInspectionQuery object instance. This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM). |
Create(DkmRuntimeInstance, DkmCustomDataContainer, DkmCompilerId, DkmWorkerProcessConnection, ReadOnlyCollection<Byte>, String, String, ReadOnlyCollection<String>, DkmClrCompilationResultFlags, DkmEvaluationResultCategory, DkmEvaluationResultAccessType, DkmEvaluationResultStorageType, DkmEvaluationResultTypeModifierFlags, DkmClrCustomTypeInfo) |
Create a new DkmCompiledClrInspectionQuery object instance. This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTMPreview). |
Create(DkmRuntimeInstance, DkmCustomDataContainer, DkmCompilerId, ReadOnlyCollection<Byte>, String, String, ReadOnlyCollection<String>, DkmClrCompilationResultFlags, DkmEvaluationResultCategory, DkmEvaluationResultAccessType, DkmEvaluationResultStorageType, DkmEvaluationResultTypeModifierFlags, DkmClrCustomTypeInfo)
Create a new DkmCompiledClrInspectionQuery object instance.
This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).
public:
static Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmCompiledClrInspectionQuery ^ 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::String ^ MethodName, System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ FormatSpecifiers, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCompilationResultFlags CompilationFlags, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultCategory ResultCategory, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultAccessType Access, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultStorageType StorageType, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultTypeModifierFlags TypeModifierFlags, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ CustomTypeInfo);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrInspectionQuery 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, string MethodName, System.Collections.ObjectModel.ReadOnlyCollection<string> FormatSpecifiers, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCompilationResultFlags CompilationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultCategory ResultCategory, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultAccessType Access, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultStorageType StorageType, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultTypeModifierFlags TypeModifierFlags, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo CustomTypeInfo);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrInspectionQuery 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, string MethodName, System.Collections.ObjectModel.ReadOnlyCollection<string>? FormatSpecifiers, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCompilationResultFlags CompilationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultCategory ResultCategory, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultAccessType Access, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultStorageType StorageType, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultTypeModifierFlags TypeModifierFlags, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo? CustomTypeInfo);
static member Create : Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId * System.Collections.ObjectModel.ReadOnlyCollection<byte> * string * string * System.Collections.ObjectModel.ReadOnlyCollection<string> * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCompilationResultFlags * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultCategory * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultAccessType * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultStorageType * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultTypeModifierFlags * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrInspectionQuery
Public Shared Function Create (RuntimeInstance As DkmRuntimeInstance, DataContainer As DkmCustomDataContainer, LanguageId As DkmCompilerId, Binary As ReadOnlyCollection(Of Byte), TypeName As String, MethodName As String, FormatSpecifiers As ReadOnlyCollection(Of String), CompilationFlags As DkmClrCompilationResultFlags, ResultCategory As DkmEvaluationResultCategory, Access As DkmEvaluationResultAccessType, StorageType As DkmEvaluationResultStorageType, TypeModifierFlags As DkmEvaluationResultTypeModifierFlags, CustomTypeInfo As DkmClrCustomTypeInfo) As DkmCompiledClrInspectionQuery
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.
- MethodName
- String
[In] The name of the query method.
- FormatSpecifiers
- ReadOnlyCollection<String>
[In,Optional] The format specifier(s) to use when formatting the result of this query.
- CompilationFlags
- DkmClrCompilationResultFlags
[In,Optional] Flags, provided by the compiler, describing the inspection query.
- ResultCategory
- DkmEvaluationResultCategory
[In,Optional] What category this variable belongs to, this controls the glyph displayed in the evaluation windows.
[In,Optional] The access control level (public, private, etc) of the evaluation result.
- StorageType
- DkmEvaluationResultStorageType
[In,Optional] The storage type (ex: static) of the evaluation result.
- TypeModifierFlags
- DkmEvaluationResultTypeModifierFlags
[In,Optional] Type modifier flags (ex: const) of the evaluation result.
- CustomTypeInfo
- DkmClrCustomTypeInfo
[In,Optional] The optional information provided to the result formatter for identifying compiler intrinsic type information.
Returns
[Out] Result of this method call.
Applies to
Create(DkmRuntimeInstance, DkmCustomDataContainer, DkmCompilerId, DkmWorkerProcessConnection, ReadOnlyCollection<Byte>, String, String, ReadOnlyCollection<String>, DkmClrCompilationResultFlags, DkmEvaluationResultCategory, DkmEvaluationResultAccessType, DkmEvaluationResultStorageType, DkmEvaluationResultTypeModifierFlags, DkmClrCustomTypeInfo)
Create a new DkmCompiledClrInspectionQuery object instance.
This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTMPreview).
public:
static Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmCompiledClrInspectionQuery ^ 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::String ^ MethodName, System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ FormatSpecifiers, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCompilationResultFlags CompilationFlags, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultCategory ResultCategory, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultAccessType Access, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultStorageType StorageType, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultTypeModifierFlags TypeModifierFlags, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ CustomTypeInfo);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrInspectionQuery 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, string MethodName, System.Collections.ObjectModel.ReadOnlyCollection<string> FormatSpecifiers, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCompilationResultFlags CompilationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultCategory ResultCategory, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultAccessType Access, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultStorageType StorageType, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultTypeModifierFlags TypeModifierFlags, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo CustomTypeInfo);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrInspectionQuery 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, string MethodName, System.Collections.ObjectModel.ReadOnlyCollection<string>? FormatSpecifiers, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCompilationResultFlags CompilationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultCategory ResultCategory, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultAccessType Access, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultStorageType StorageType, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultTypeModifierFlags TypeModifierFlags, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo? CustomTypeInfo);
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 * string * System.Collections.ObjectModel.ReadOnlyCollection<string> * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCompilationResultFlags * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultCategory * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultAccessType * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultStorageType * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultTypeModifierFlags * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrInspectionQuery
Public Shared Function Create (RuntimeInstance As DkmRuntimeInstance, DataContainer As DkmCustomDataContainer, LanguageId As DkmCompilerId, SourceWorkerProcess As DkmWorkerProcessConnection, Binary As ReadOnlyCollection(Of Byte), TypeName As String, MethodName As String, FormatSpecifiers As ReadOnlyCollection(Of String), CompilationFlags As DkmClrCompilationResultFlags, ResultCategory As DkmEvaluationResultCategory, Access As DkmEvaluationResultAccessType, StorageType As DkmEvaluationResultStorageType, TypeModifierFlags As DkmEvaluationResultTypeModifierFlags, CustomTypeInfo As DkmClrCustomTypeInfo) As DkmCompiledClrInspectionQuery
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.
- MethodName
- String
[In] The name of the query method.
- FormatSpecifiers
- ReadOnlyCollection<String>
[In,Optional] The format specifier(s) to use when formatting the result of this query.
- CompilationFlags
- DkmClrCompilationResultFlags
[In,Optional] Flags, provided by the compiler, describing the inspection query.
- ResultCategory
- DkmEvaluationResultCategory
[In,Optional] What category this variable belongs to, this controls the glyph displayed in the evaluation windows.
[In,Optional] The access control level (public, private, etc) of the evaluation result.
- StorageType
- DkmEvaluationResultStorageType
[In,Optional] The storage type (ex: static) of the evaluation result.
- TypeModifierFlags
- DkmEvaluationResultTypeModifierFlags
[In,Optional] Type modifier flags (ex: const) of the evaluation result.
- CustomTypeInfo
- DkmClrCustomTypeInfo
[In,Optional] The optional information provided to the result formatter for identifying compiler intrinsic type information.
Returns
[Out] Result of this method call.