Share via


IDkmClrValueInspectionCallback.EvaluateDebuggerDisplayString Method

Definition

Gets the string to display in the debugger UI for a CLR value given a DebuggerDisplay attribute string.

public:
 void EvaluateDebuggerDisplayString(Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ clrValue, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ targetType, System::String ^ formatString, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmEvaluateDebuggerDisplayStringAsyncResult> ^ completionRoutine);
public void EvaluateDebuggerDisplayString (Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue clrValue, Microsoft.VisualStudio.Debugger.DkmWorkList workList, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, Microsoft.VisualStudio.Debugger.Clr.DkmClrType targetType, string formatString, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmEvaluateDebuggerDisplayStringAsyncResult> completionRoutine);
abstract member EvaluateDebuggerDisplayString : Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue * Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * Microsoft.VisualStudio.Debugger.Clr.DkmClrType * string * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmEvaluateDebuggerDisplayStringAsyncResult> -> unit
Public Sub EvaluateDebuggerDisplayString (clrValue As DkmClrValue, workList As DkmWorkList, inspectionContext As DkmInspectionContext, targetType As DkmClrType, formatString As String, completionRoutine As DkmCompletionRoutine(Of DkmEvaluateDebuggerDisplayStringAsyncResult))

Parameters

clrValue
DkmClrValue

[In] A value resulting from a CLR inspection query. These values are used by a Result Formatter to generate DkmEvaluationResults.

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.

inspectionContext
DkmInspectionContext

[In] The inspection context for this evaluation.

targetType
DkmClrType

[In] The type to use when evaluating debugger display attributes.

formatString
String

[In] The format string to be evaluated by the debugger. For example "Count = {Count}".

completionRoutine
DkmCompletionRoutine<DkmEvaluateDebuggerDisplayStringAsyncResult>

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