Share via


IDkmExceptionStackTraceProvider.GetExceptionStackTrace Method

Definition

Obtains the captured stack trace associated with the exception, if one is available.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^> ^ GetExceptionStackTrace(Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionInformation ^ exception);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.DkmInstructionAddress> GetExceptionStackTrace (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInformation exception);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.DkmInstructionAddress>? GetExceptionStackTrace (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInformation exception);
abstract member GetExceptionStackTrace : Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInformation -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.DkmInstructionAddress>
Public Function GetExceptionStackTrace (exception As DkmExceptionInformation) As ReadOnlyCollection(Of DkmInstructionAddress)

Parameters

exception
DkmExceptionInformation

[In] Provides information about an exception which was raised in the target process. This information includes details of what exception was raised and the current stage of exception processing.

Returns

[Out,Optional] An array of frames that were running at the time the exception got thrown.

Applies to