IDkmClrSymbolCallback.GetMethodSymbolStoreData Method

Definition

Returns the scopes within a method. There will always be at least one scope.

public:
 cli::array <Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodScopeData> ^ GetMethodSymbolStoreData(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ module, Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodId methodId);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[] GetMethodSymbolStoreData (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId methodId);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[]? GetMethodSymbolStoreData (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId methodId);
abstract member GetMethodSymbolStoreData : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId -> Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[]
Public Function GetMethodSymbolStoreData (module As DkmModule, methodId As DkmClrMethodId) As DkmClrMethodScopeData()

Parameters

module
DkmModule

[In] The DkmModule class represents a code bundle (ex: dll or exe) which is or once was loaded into one or more processes. The DkmModule class is the central object to the symbol APIs, and is 1:1 with the symbol handler's notation of what is loaded. If a code bundle loads into three different processes (or the same process but with three different base addresses or three different app domains) but the symbol handler thinks of all of these as being identical, there will be only one module object.

methodId
DkmClrMethodId

[In] DkmClrMethodId is a token/version pair which is used to uniquely identify the symbol store's understanding of a particular CLR method within a module.

Returns

[Out] DkmClrMethodScopeData[] describes a scope within a method. These are defined using ISymUnmanagedWriter::OpenScope/CloseScope.

Applies to