DkmInspectionContext.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(DkmInspectionSession, DkmRuntimeInstance, DkmThread, UInt32, DkmEvaluationFlags, DkmFuncEvalFlags, UInt32, DkmLanguage, DkmRawReturnValue)
Create a new DkmInspectionContext object instance.
public:
static Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ Create(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ InspectionSession, Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, System::UInt32 Timeout, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationFlags EvaluationFlags, Microsoft::VisualStudio::Debugger::Evaluation::DkmFuncEvalFlags FuncEvalFlags, System::UInt32 Radix, Microsoft::VisualStudio::Debugger::Evaluation::DkmLanguage ^ Language, Microsoft::VisualStudio::Debugger::Evaluation::DkmRawReturnValue ^ ReturnValue);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread Thread, uint Timeout, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags EvaluationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags FuncEvalFlags, uint Radix, Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguage Language, Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue ReturnValue);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread Thread, uint Timeout, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags EvaluationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags FuncEvalFlags, uint Radix, Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguage Language, Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue? ReturnValue);
static member Create : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession * Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Microsoft.VisualStudio.Debugger.DkmThread * uint32 * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags * Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags * uint32 * Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguage * Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue -> Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext
Public Shared Function Create (InspectionSession As DkmInspectionSession, RuntimeInstance As DkmRuntimeInstance, Thread As DkmThread, Timeout As UInteger, EvaluationFlags As DkmEvaluationFlags, FuncEvalFlags As DkmFuncEvalFlags, Radix As UInteger, Language As DkmLanguage, ReturnValue As DkmRawReturnValue) As DkmInspectionContext
Parameters
- InspectionSession
- DkmInspectionSession
[In] The InspectionSession allows the various components which examine data in the target process to store private data with the same lifetime. Inspection sessions are closed when the user attempts to continue the process.
- RuntimeInstance
- DkmRuntimeInstance
[In] Indicates which runtime monitor will be used to perform this evaluation.
- Thread
- DkmThread
[In] The thread being examined.
- Timeout
- UInt32
[In] This is the timeout to be used for potentially slow operations such as a function evaluation. This value is in milliseconds.
- EvaluationFlags
- DkmEvaluationFlags
[In] Flags which effect how an input expression should be parsed, compiled or displayed.
- FuncEvalFlags
- DkmFuncEvalFlags
[In] Flags impacting how function evaluation requests are performed.
- Radix
- UInt32
[In] The radix to use when formatting integer data. Currently supported values are '16' and '10'.
- Language
- DkmLanguage
[In] Language used to perform inspections.
- ReturnValue
- DkmRawReturnValue
[In,Optional] Deprecated - do not use. Instead, components should use the ReturnValues property as the list of all return values and set $ReturnValue to represent the last return value item in the list.
Returns
[Out] Result of this method call.
Applies to
Create(DkmInspectionSession, DkmRuntimeInstance, DkmThread, UInt32, DkmEvaluationFlags, DkmFuncEvalFlags, UInt32, DkmLanguage, DkmRawReturnValue, DkmCompiledVisualizationData, DkmCompiledVisualizationDataPriority)
Create a new DkmInspectionContext object instance.
This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).
public:
static Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ Create(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ InspectionSession, Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, System::UInt32 Timeout, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationFlags EvaluationFlags, Microsoft::VisualStudio::Debugger::Evaluation::DkmFuncEvalFlags FuncEvalFlags, System::UInt32 Radix, Microsoft::VisualStudio::Debugger::Evaluation::DkmLanguage ^ Language, Microsoft::VisualStudio::Debugger::Evaluation::DkmRawReturnValue ^ ReturnValue, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledVisualizationData ^ AdditionalVisualizationData, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledVisualizationDataPriority AdditionalVisualizationDataPriority);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread Thread, uint Timeout, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags EvaluationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags FuncEvalFlags, uint Radix, Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguage Language, Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue ReturnValue, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationData AdditionalVisualizationData, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationDataPriority AdditionalVisualizationDataPriority);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread Thread, uint Timeout, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags EvaluationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags FuncEvalFlags, uint Radix, Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguage Language, Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue? ReturnValue, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationData? AdditionalVisualizationData, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationDataPriority AdditionalVisualizationDataPriority);
static member Create : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession * Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Microsoft.VisualStudio.Debugger.DkmThread * uint32 * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags * Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags * uint32 * Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguage * Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationData * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationDataPriority -> Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext
Public Shared Function Create (InspectionSession As DkmInspectionSession, RuntimeInstance As DkmRuntimeInstance, Thread As DkmThread, Timeout As UInteger, EvaluationFlags As DkmEvaluationFlags, FuncEvalFlags As DkmFuncEvalFlags, Radix As UInteger, Language As DkmLanguage, ReturnValue As DkmRawReturnValue, AdditionalVisualizationData As DkmCompiledVisualizationData, AdditionalVisualizationDataPriority As DkmCompiledVisualizationDataPriority) As DkmInspectionContext
Parameters
- InspectionSession
- DkmInspectionSession
[In] The InspectionSession allows the various components which examine data in the target process to store private data with the same lifetime. Inspection sessions are closed when the user attempts to continue the process.
- RuntimeInstance
- DkmRuntimeInstance
[In] Indicates which runtime monitor will be used to perform this evaluation.
- Thread
- DkmThread
[In] The thread being examined.
- Timeout
- UInt32
[In] This is the timeout to be used for potentially slow operations such as a function evaluation. This value is in milliseconds.
- EvaluationFlags
- DkmEvaluationFlags
[In] Flags which effect how an input expression should be parsed, compiled or displayed.
- FuncEvalFlags
- DkmFuncEvalFlags
[In] Flags impacting how function evaluation requests are performed.
- Radix
- UInt32
[In] The radix to use when formatting integer data. Currently supported values are '16' and '10'.
- Language
- DkmLanguage
[In] Language used to perform inspections.
- ReturnValue
- DkmRawReturnValue
[In,Optional] Deprecated - do not use. Instead, components should use the ReturnValues property as the list of all return values and set $ReturnValue to represent the last return value item in the list.
- AdditionalVisualizationData
- DkmCompiledVisualizationData
[In,Optional] Specifies an optional list of full paths to visualization files to use, in addition to the default files from the users profile directory and the Visual Studio installation directory. Precedence between conflicting visualizers in these paths, relative to the standard paths are resolved according to the information specified in 'AdditionalVisualizationDataPriority'.
- AdditionalVisualizationDataPriority
- DkmCompiledVisualizationDataPriority
[In] If AdditionalVisualizationData is specified, specifies the priority of such data, relative to the default search locations.
Returns
[Out] Result of this method call.
Applies to
Create(DkmInspectionSession, DkmRuntimeInstance, DkmThread, UInt32, DkmEvaluationFlags, DkmFuncEvalFlags, UInt32, DkmLanguage, DkmRawReturnValue, DkmCompiledVisualizationData, DkmCompiledVisualizationDataPriority, ReadOnlyCollection<DkmRawReturnValueContainer>)
Create a new DkmInspectionContext object instance.
This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).
public:
static Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ Create(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ InspectionSession, Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, System::UInt32 Timeout, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationFlags EvaluationFlags, Microsoft::VisualStudio::Debugger::Evaluation::DkmFuncEvalFlags FuncEvalFlags, System::UInt32 Radix, Microsoft::VisualStudio::Debugger::Evaluation::DkmLanguage ^ Language, Microsoft::VisualStudio::Debugger::Evaluation::DkmRawReturnValue ^ ReturnValue, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledVisualizationData ^ AdditionalVisualizationData, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledVisualizationDataPriority AdditionalVisualizationDataPriority, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Evaluation::DkmRawReturnValueContainer ^> ^ ReturnValues);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread Thread, uint Timeout, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags EvaluationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags FuncEvalFlags, uint Radix, Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguage Language, Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue ReturnValue, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationData AdditionalVisualizationData, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationDataPriority AdditionalVisualizationDataPriority, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValueContainer> ReturnValues);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread Thread, uint Timeout, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags EvaluationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags FuncEvalFlags, uint Radix, Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguage Language, Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue? ReturnValue, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationData? AdditionalVisualizationData, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationDataPriority AdditionalVisualizationDataPriority, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValueContainer>? ReturnValues);
static member Create : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession * Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Microsoft.VisualStudio.Debugger.DkmThread * uint32 * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags * Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags * uint32 * Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguage * Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationData * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationDataPriority * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValueContainer> -> Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext
Public Shared Function Create (InspectionSession As DkmInspectionSession, RuntimeInstance As DkmRuntimeInstance, Thread As DkmThread, Timeout As UInteger, EvaluationFlags As DkmEvaluationFlags, FuncEvalFlags As DkmFuncEvalFlags, Radix As UInteger, Language As DkmLanguage, ReturnValue As DkmRawReturnValue, AdditionalVisualizationData As DkmCompiledVisualizationData, AdditionalVisualizationDataPriority As DkmCompiledVisualizationDataPriority, ReturnValues As ReadOnlyCollection(Of DkmRawReturnValueContainer)) As DkmInspectionContext
Parameters
- InspectionSession
- DkmInspectionSession
[In] The InspectionSession allows the various components which examine data in the target process to store private data with the same lifetime. Inspection sessions are closed when the user attempts to continue the process.
- RuntimeInstance
- DkmRuntimeInstance
[In] Indicates which runtime monitor will be used to perform this evaluation.
- Thread
- DkmThread
[In] The thread being examined.
- Timeout
- UInt32
[In] This is the timeout to be used for potentially slow operations such as a function evaluation. This value is in milliseconds.
- EvaluationFlags
- DkmEvaluationFlags
[In] Flags which effect how an input expression should be parsed, compiled or displayed.
- FuncEvalFlags
- DkmFuncEvalFlags
[In] Flags impacting how function evaluation requests are performed.
- Radix
- UInt32
[In] The radix to use when formatting integer data. Currently supported values are '16' and '10'.
- Language
- DkmLanguage
[In] Language used to perform inspections.
- ReturnValue
- DkmRawReturnValue
[In,Optional] Deprecated - do not use. Instead, components should use the ReturnValues property as the list of all return values and set $ReturnValue to represent the last return value item in the list.
- AdditionalVisualizationData
- DkmCompiledVisualizationData
[In,Optional] Specifies an optional list of full paths to visualization files to use, in addition to the default files from the users profile directory and the Visual Studio installation directory. Precedence between conflicting visualizers in these paths, relative to the standard paths are resolved according to the information specified in 'AdditionalVisualizationDataPriority'.
- AdditionalVisualizationDataPriority
- DkmCompiledVisualizationDataPriority
[In] If AdditionalVisualizationData is specified, specifies the priority of such data, relative to the default search locations.
- ReturnValues
- ReadOnlyCollection<DkmRawReturnValueContainer>
[In,Optional] Raw representation of values for $ReturnValue1, $ReturnValue2, etc.
Returns
[Out] Result of this method call.
Applies to
Create(DkmInspectionSession, DkmRuntimeInstance, DkmThread, UInt32, DkmEvaluationFlags, DkmFuncEvalFlags, UInt32, DkmLanguage, DkmRawReturnValue, DkmCompiledVisualizationData, DkmCompiledVisualizationDataPriority, ReadOnlyCollection<DkmRawReturnValueContainer>, DkmWorkerProcessConnection)
Create a new DkmInspectionContext object instance.
This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTMPreview).
public:
static Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ Create(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ InspectionSession, Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, System::UInt32 Timeout, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationFlags EvaluationFlags, Microsoft::VisualStudio::Debugger::Evaluation::DkmFuncEvalFlags FuncEvalFlags, System::UInt32 Radix, Microsoft::VisualStudio::Debugger::Evaluation::DkmLanguage ^ Language, Microsoft::VisualStudio::Debugger::Evaluation::DkmRawReturnValue ^ ReturnValue, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledVisualizationData ^ AdditionalVisualizationData, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledVisualizationDataPriority AdditionalVisualizationDataPriority, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Evaluation::DkmRawReturnValueContainer ^> ^ ReturnValues, Microsoft::VisualStudio::Debugger::DefaultPort::DkmWorkerProcessConnection ^ SymbolsConnection);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread Thread, uint Timeout, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags EvaluationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags FuncEvalFlags, uint Radix, Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguage Language, Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue ReturnValue, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationData AdditionalVisualizationData, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationDataPriority AdditionalVisualizationDataPriority, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValueContainer> ReturnValues, Microsoft.VisualStudio.Debugger.DefaultPort.DkmWorkerProcessConnection SymbolsConnection);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread Thread, uint Timeout, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags EvaluationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags FuncEvalFlags, uint Radix, Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguage Language, Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue? ReturnValue, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationData? AdditionalVisualizationData, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationDataPriority AdditionalVisualizationDataPriority, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValueContainer>? ReturnValues, Microsoft.VisualStudio.Debugger.DefaultPort.DkmWorkerProcessConnection? SymbolsConnection);
static member Create : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession * Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Microsoft.VisualStudio.Debugger.DkmThread * uint32 * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags * Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags * uint32 * Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguage * Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationData * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledVisualizationDataPriority * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValueContainer> * Microsoft.VisualStudio.Debugger.DefaultPort.DkmWorkerProcessConnection -> Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext
Public Shared Function Create (InspectionSession As DkmInspectionSession, RuntimeInstance As DkmRuntimeInstance, Thread As DkmThread, Timeout As UInteger, EvaluationFlags As DkmEvaluationFlags, FuncEvalFlags As DkmFuncEvalFlags, Radix As UInteger, Language As DkmLanguage, ReturnValue As DkmRawReturnValue, AdditionalVisualizationData As DkmCompiledVisualizationData, AdditionalVisualizationDataPriority As DkmCompiledVisualizationDataPriority, ReturnValues As ReadOnlyCollection(Of DkmRawReturnValueContainer), SymbolsConnection As DkmWorkerProcessConnection) As DkmInspectionContext
Parameters
- InspectionSession
- DkmInspectionSession
[In] The InspectionSession allows the various components which examine data in the target process to store private data with the same lifetime. Inspection sessions are closed when the user attempts to continue the process.
- RuntimeInstance
- DkmRuntimeInstance
[In] Indicates which runtime monitor will be used to perform this evaluation.
- Thread
- DkmThread
[In] The thread being examined.
- Timeout
- UInt32
[In] This is the timeout to be used for potentially slow operations such as a function evaluation. This value is in milliseconds.
- EvaluationFlags
- DkmEvaluationFlags
[In] Flags which effect how an input expression should be parsed, compiled or displayed.
- FuncEvalFlags
- DkmFuncEvalFlags
[In] Flags impacting how function evaluation requests are performed.
- Radix
- UInt32
[In] The radix to use when formatting integer data. Currently supported values are '16' and '10'.
- Language
- DkmLanguage
[In] Language used to perform inspections.
- ReturnValue
- DkmRawReturnValue
[In,Optional] Deprecated - do not use. Instead, components should use the ReturnValues property as the list of all return values and set $ReturnValue to represent the last return value item in the list.
- AdditionalVisualizationData
- DkmCompiledVisualizationData
[In,Optional] Specifies an optional list of full paths to visualization files to use, in addition to the default files from the users profile directory and the Visual Studio installation directory. Precedence between conflicting visualizers in these paths, relative to the standard paths are resolved according to the information specified in 'AdditionalVisualizationDataPriority'.
- AdditionalVisualizationDataPriority
- DkmCompiledVisualizationDataPriority
[In] If AdditionalVisualizationData is specified, specifies the priority of such data, relative to the default search locations.
- ReturnValues
- ReadOnlyCollection<DkmRawReturnValueContainer>
[In,Optional] Raw representation of values for $ReturnValue1, $ReturnValue2, etc.
- SymbolsConnection
- DkmWorkerProcessConnection
[In,Optional] If non-null, this specifies a connection to a worker process where symbols for this inspection operation are processed. This will be null if symbols are loaded in the IDE process, or if they are loaded in the remote debugger (DkmModule.Connection is non-null).
Returns
[Out] Result of this method call.