IDkmClrResultProvider.GetChildren Method

Definition

Gets an enumeration context used to obtain the children of this evaluation result. This is used in all expression evaluation windows.

public:
 void GetChildren(Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResult ^ result, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, int initialRequestSize, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::DkmGetChildrenAsyncResult> ^ completionRoutine);
public void GetChildren (Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResult result, Microsoft.VisualStudio.Debugger.DkmWorkList workList, int initialRequestSize, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmGetChildrenAsyncResult> completionRoutine);
abstract member GetChildren : Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResult * Microsoft.VisualStudio.Debugger.DkmWorkList * int * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmGetChildrenAsyncResult> -> unit
Public Sub GetChildren (result As DkmEvaluationResult, workList As DkmWorkList, initialRequestSize As Integer, inspectionContext As DkmInspectionContext, completionRoutine As DkmCompletionRoutine(Of DkmGetChildrenAsyncResult))

Parameters

result
DkmEvaluationResult

[In] The formatted result of an evaluation, ready to be displayed in an expression evaluation window.

workList
DkmWorkList

WorkList which is currently being processed. This value can be used to check for cancelation or to append additional work. New work items will not begin executing until after this function returns.

initialRequestSize
Int32

[In] The initial number of children that the caller would like returned. This value can be zero if no children will be initially returned. This value may be larger than the number of children that this expression has, in which case all children should be returned. Very large or negative values should not be used as arrays can have extremely large sizes which would cause out-of-memory if all elements were requested.

inspectionContext
DkmInspectionContext

[In] The inspection context to use for computing the children. This may differ from the original inspection context with respect to settings, such as radix, evaluation flags, or timeout.

completionRoutine
DkmCompletionRoutine<DkmGetChildrenAsyncResult>

Routine to fire when the request is complete. This will be implicitly fired if the implementation returns failure from this interface method. The implementation must fire this method in all other scenarios.

Applies to