Compartilhar via


DkmInstructionSymbol.GetBasicInfo Method

Definition

Asynchronously computes basic symbol information for a given DkmInstructionSymbol.

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).

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTMPreview).

public:
 void GetBasicInfo(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::DkmModuleInstance ^ ModuleInstance, Microsoft::VisualStudio::Debugger::Symbols::DkmBasicSymbolInfoRequestFlags Flags, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Symbols::DkmGetBasicSymbolInfoAsyncResult> ^ CompletionRoutine);
public void GetBasicInfo (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmModuleInstance ModuleInstance, Microsoft.VisualStudio.Debugger.Symbols.DkmBasicSymbolInfoRequestFlags Flags, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmGetBasicSymbolInfoAsyncResult> CompletionRoutine);
member this.GetBasicInfo : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmModuleInstance * Microsoft.VisualStudio.Debugger.Symbols.DkmBasicSymbolInfoRequestFlags * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmGetBasicSymbolInfoAsyncResult> -> unit
Public Sub GetBasicInfo (WorkList As DkmWorkList, ModuleInstance As DkmModuleInstance, Flags As DkmBasicSymbolInfoRequestFlags, CompletionRoutine As DkmCompletionRoutine(Of DkmGetBasicSymbolInfoAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

ModuleInstance
DkmModuleInstance

[In] Module containing the specified instruction symbol.

Flags
DkmBasicSymbolInfoRequestFlags

[In] Flags passed to DkmInstructionSymbol.GetBasicInfo and GetInlineFramesCount.

CompletionRoutine
DkmCompletionRoutine<DkmGetBasicSymbolInfoAsyncResult>

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