IDkmClrValueInspectionCallback.InstantiateProxyType 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 a proxy class for a DkmClrValue with an associated DebuggerTypeProxy attribute.
public:
Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ InstantiateProxyType(Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ clrValue, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ type);
public Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue InstantiateProxyType (Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue clrValue, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, Microsoft.VisualStudio.Debugger.Clr.DkmClrType type);
abstract member InstantiateProxyType : Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * Microsoft.VisualStudio.Debugger.Clr.DkmClrType -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue
Public Function InstantiateProxyType (clrValue As DkmClrValue, inspectionContext As DkmInspectionContext, type As DkmClrType) 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.
- type
- DkmClrType
[In] The type of the proxy to instantiate. The proxy type should have a constructor taking a single parameter. The debugger will pass the instance of the type being inspected to this constructor.
Returns
[Out] A value representing the instantiated type proxy.
Exceptions
E_INVALIDARG indicates that Type is an unconstructed generic type.