Udostępnij za pośrednictwem


DkmInstructionSymbol.IsHiddenCode Method

Definition

Returns if this instruction symbol is in hidden code. For instance, in managed code, the line number 0xfeefee marks a source line as hidden.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

Location constraint: API must be called from an IDE component (component level > 100,000).

public:
 void IsHiddenCode(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ InspectionSession, Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ InstructionAddress, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Symbols::DkmIsHiddenCodeAsyncResult> ^ CompletionRoutine);
public void IsHiddenCode (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.DkmInstructionAddress InstructionAddress, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmIsHiddenCodeAsyncResult> CompletionRoutine);
member this.IsHiddenCode : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession * Microsoft.VisualStudio.Debugger.DkmInstructionAddress * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmIsHiddenCodeAsyncResult> -> unit
Public Sub IsHiddenCode (WorkList As DkmWorkList, InspectionSession As DkmInspectionSession, InstructionAddress As DkmInstructionAddress, CompletionRoutine As DkmCompletionRoutine(Of DkmIsHiddenCodeAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

InspectionSession
DkmInspectionSession

[In] DkmInspectionSession allows the various components which inspect data to store private data which is associated with a group of evaluations.

InstructionAddress
DkmInstructionAddress

[In] Abstract representation of an executable code location (ex: EIP value). If resolved, an Instruction Address will be within a particular module instance. An Instruction Address is always within a particular Runtime Instance.

CompletionRoutine
DkmCompletionRoutine<DkmIsHiddenCodeAsyncResult>

Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.

Applies to