IDkmClrValueInspectionCallback.InstantiateDynamicViewProxy 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.
Instantiate the proxy class to use for iterating the dynamic members of an IDynamicMetaObjectProvider value.
public:
Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ InstantiateDynamicViewProxy(Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ clrValue, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext);
public Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue InstantiateDynamicViewProxy (Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue clrValue, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext);
public Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue? InstantiateDynamicViewProxy (Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue clrValue, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext);
abstract member InstantiateDynamicViewProxy : Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue
Public Function InstantiateDynamicViewProxy (clrValue As DkmClrValue, inspectionContext As DkmInspectionContext) As DkmClrValue
Parameters
- clrValue
- DkmClrValue
[In] A value resulting from a CLR inspection query. These values are used by a Result Formatter to generate DkmEvaluationResults.
- inspectionContext
- DkmInspectionContext
[In] The inspection context for this evaluation.
Returns
[Out,Optional] A value representing the instantiated results view proxy. This method returns null in case of failure instantiating the dynamic view proxy.
Exceptions
COR_E_INVALIDOPERATION indicates that this method was called on a DkmClrValue that does not implement the IDynamicMetaObjectProvider interface or represents a null value.