Share via


IDkmClrResultProvider.GetResult Method

Definition

Format a DkmClrValue and return a DkmEvaluationResult.

public:
 void GetResult(Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ clrValue, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ declaredType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ customTypeInfo, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ formatSpecifiers, System::String ^ resultName, System::String ^ resultFullName, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmEvaluationAsyncResult> ^ completionRoutine);
public void GetResult (Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue clrValue, Microsoft.VisualStudio.Debugger.DkmWorkList workList, Microsoft.VisualStudio.Debugger.Clr.DkmClrType declaredType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo customTypeInfo, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, System.Collections.ObjectModel.ReadOnlyCollection<string> formatSpecifiers, string resultName, string resultFullName, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmEvaluationAsyncResult> completionRoutine);
public void GetResult (Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue clrValue, Microsoft.VisualStudio.Debugger.DkmWorkList workList, Microsoft.VisualStudio.Debugger.Clr.DkmClrType? declaredType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo? customTypeInfo, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, System.Collections.ObjectModel.ReadOnlyCollection<string>? formatSpecifiers, string resultName, string? resultFullName, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmEvaluationAsyncResult> completionRoutine);
abstract member GetResult : Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue * Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Clr.DkmClrType * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * System.Collections.ObjectModel.ReadOnlyCollection<string> * string * string * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmEvaluationAsyncResult> -> unit
Public Sub GetResult (clrValue As DkmClrValue, workList As DkmWorkList, declaredType As DkmClrType, customTypeInfo As DkmClrCustomTypeInfo, inspectionContext As DkmInspectionContext, formatSpecifiers As ReadOnlyCollection(Of String), resultName As String, resultFullName As String, completionRoutine As DkmCompletionRoutine(Of DkmEvaluationAsyncResult))

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.

declaredType
DkmClrType

[In,Optional] The declared type if it is different from the runtime type.

customTypeInfo
DkmClrCustomTypeInfo

[In,Optional] The optional information provided by the expression compiler for identifying compiler intrinsic type information.

inspectionContext
DkmInspectionContext

[In] The inspection context for this evaluation.

formatSpecifiers
ReadOnlyCollection<String>

[In,Optional] The optional format specifier(s) to use when formatting this result.

resultName
String

[In] The name of this result. This value is typically the expression being evaluated.

resultFullName
String

[In,Optional] The full name of this result. This is the expression added to the Watch window if the user selects "Add to Watch".

completionRoutine
DkmCompletionRoutine<DkmEvaluationAsyncResult>

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