Udostępnij za pośrednictwem


IDkmILFailureReasonResolver.ResolveILFailureReason Method

Definition

Resolves a DkmILFailureReason into an error message. This is used to produce the error message for a condition breakpoint.

public:
 System::String ^ ResolveILFailureReason(Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery ^ query, Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason errorCode);
public:
 Platform::String ^ ResolveILFailureReason(Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery ^ query, Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason errorCode);
std::wstring ResolveILFailureReason(Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery const & query, Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason errorCode);
public string ResolveILFailureReason (Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery query, Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason errorCode);
abstract member ResolveILFailureReason : Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery * Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason -> string
Public Function ResolveILFailureReason (query As DkmCompiledInspectionQuery, errorCode As DkmILFailureReason) As String

Parameters

query
DkmCompiledInspectionQuery

[In] Represents a query which is produced by an expression evaluator or similar component and set to the target computer to obtain information about the dynamic state of the program (ex: the current value of a register). Consumers of inspection queries should call Close() once it is known that the inspection query will no longer execute.

errorCode
DkmILFailureReason

[In] Error code returned from execution of the IL stream.

Returns

[Out] Human-readable error message describing the error.

Applies to