Compartilhar via


DkmClrValue.InstantiateDynamicViewProxy(DkmInspectionContext) Method

Definition

Instantiate the proxy class to use for iterating the dynamic members of an IDynamicMetaObjectProvider value.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

public:
 Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ InstantiateDynamicViewProxy(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ InspectionContext);
public Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue InstantiateDynamicViewProxy (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext InspectionContext);
public Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue? InstantiateDynamicViewProxy (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext InspectionContext);
member this.InstantiateDynamicViewProxy : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue
Public Function InstantiateDynamicViewProxy (InspectionContext As DkmInspectionContext) As DkmClrValue

Parameters

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.

Applies to