DkmClrInstructionSymbol.GetMethodLocalSymbols Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetMethodLocalSymbols() |
Returns the scopes within a method. There will always be at least one scope. Location constraint: This API will fail when called from an IDE component to query information for server-side compiled ASP.NET code, or dynamically compiled code. This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM). |
GetMethodLocalSymbols(DkmWorkList, DkmCompletionRoutine<DkmGetMethodLocalSymbolsAsyncResult>) |
Returns the scopes within a method. There will always be at least one scope. 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: This API will fail when called from an IDE component to query information for server-side compiled ASP.NET code, or dynamically compiled code. This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM). |
GetMethodLocalSymbols()
Returns the scopes within a method. There will always be at least one scope.
Location constraint: This API will fail when called from an IDE component to query information for server-side compiled ASP.NET code, or dynamically compiled code.
This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).
public:
cli::array <Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodScopeData> ^ GetMethodLocalSymbols();
std::Array <Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodScopeData> GetMethodLocalSymbols();
public Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[] GetMethodLocalSymbols ();
member this.GetMethodLocalSymbols : unit -> Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[]
Public Function GetMethodLocalSymbols () As DkmClrMethodScopeData()
Returns
[Out] DkmClrMethodScopeData[] describes a scope within a method. These are defined using ISymUnmanagedWriter::OpenScope/CloseScope.
Applies to
GetMethodLocalSymbols(DkmWorkList, DkmCompletionRoutine<DkmGetMethodLocalSymbolsAsyncResult>)
Returns the scopes within a method. There will always be at least one scope.
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: This API will fail when called from an IDE component to query information for server-side compiled ASP.NET code, or dynamically compiled code.
This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).
public:
void GetMethodLocalSymbols(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Clr::DkmGetMethodLocalSymbolsAsyncResult> ^ CompletionRoutine);
public void GetMethodLocalSymbols (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Clr.DkmGetMethodLocalSymbolsAsyncResult> CompletionRoutine);
member this.GetMethodLocalSymbols : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Clr.DkmGetMethodLocalSymbolsAsyncResult> -> unit
Public Sub GetMethodLocalSymbols (WorkList As DkmWorkList, CompletionRoutine As DkmCompletionRoutine(Of DkmGetMethodLocalSymbolsAsyncResult))
Parameters
- WorkList
- DkmWorkList
WorkList to append the new work item to.
- CompletionRoutine
- DkmCompletionRoutine<DkmGetMethodLocalSymbolsAsyncResult>
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.