Sdílet prostřednictvím


DkmRuntimeInstance.GetSymbolNameForAddress Method

Definition

Gets the symbol name for the specified address using runtime information instead of symbols. Currently this is just implemented for the CLR runtime instance.

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 Update 7 (DkmApiVersion.VS16Update7).

public:
 void GetSymbolNameForAddress(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, System::UInt64 Address, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Disassembly::DkmGetSymbolNameForAddressAsyncResult> ^ CompletionRoutine);
public void GetSymbolNameForAddress (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, ulong Address, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Disassembly.DkmGetSymbolNameForAddressAsyncResult> CompletionRoutine);
member this.GetSymbolNameForAddress : Microsoft.VisualStudio.Debugger.DkmWorkList * uint64 * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Disassembly.DkmGetSymbolNameForAddressAsyncResult> -> unit
Public Sub GetSymbolNameForAddress (WorkList As DkmWorkList, Address As ULong, CompletionRoutine As DkmCompletionRoutine(Of DkmGetSymbolNameForAddressAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

Address
UInt64

[In] The address to resolve.

CompletionRoutine
DkmCompletionRoutine<DkmGetSymbolNameForAddressAsyncResult>

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