IDkmExceptionDetailsProvider164.GetRethrownCallStack Methode

Definition

Ruft den Text ab, in dem eine Ausnahme ausgelöst wurde, ähnlich wie bei der StackTrace-Eigenschaft einer .NET-Ausnahme. Diese API wird von der Visual Studio-Ausnahme-Benutzeroberfläche verwendet. Dadurch wird eine leere Zeichenfolge in Szenarien zurückgegeben, in denen die Implementierung keine Aufrufliste anzeigen soll, z. B. wenn alle Frames bereits im Aufruflistefenster vorhanden sind.

public:
 System::String ^ GetRethrownCallStack(Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionDetails ^ exceptionDetails, bool addFormatting, Microsoft::VisualStudio::Debugger::Evaluation::DkmVariableInfoFlags argumentFlags, Microsoft::VisualStudio::Debugger::CallStack::DkmCallStackFilterOptions filterOptions, [Runtime::InteropServices::Out] cli::array <Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^> ^ % address);
public string GetRethrownCallStack(Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionDetails exceptionDetails, bool addFormatting, Microsoft.VisualStudio.Debugger.Evaluation.DkmVariableInfoFlags argumentFlags, Microsoft.VisualStudio.Debugger.CallStack.DkmCallStackFilterOptions filterOptions, out Microsoft.VisualStudio.Debugger.DkmInstructionAddress[] address);
public string GetRethrownCallStack(Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionDetails exceptionDetails, bool addFormatting, Microsoft.VisualStudio.Debugger.Evaluation.DkmVariableInfoFlags argumentFlags, Microsoft.VisualStudio.Debugger.CallStack.DkmCallStackFilterOptions filterOptions, out Microsoft.VisualStudio.Debugger.DkmInstructionAddress[]? address);
abstract member GetRethrownCallStack : Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionDetails * bool * Microsoft.VisualStudio.Debugger.Evaluation.DkmVariableInfoFlags * Microsoft.VisualStudio.Debugger.CallStack.DkmCallStackFilterOptions * DkmInstructionAddress[] -> string
Public Function GetRethrownCallStack (exceptionDetails As DkmExceptionDetails, addFormatting As Boolean, argumentFlags As DkmVariableInfoFlags, filterOptions As DkmCallStackFilterOptions, ByRef address As DkmInstructionAddress()) As String

Parameter

exceptionDetails
DkmExceptionDetails

[In] Enthält Details zu einer Ausnahme oder einem inneren Ausnahmeobjekt.

addFormatting
Boolean

[In] Gibt an, ob die Aufrufliste so formatiert ist, dass sie Fett-,Kursiv-/Hyperlinktext enthält oder nicht.

argumentFlags
DkmVariableInfoFlags

[In] Flags, die angeben, welche Informationen zu den Argumenten beim Formulieren der Aufrufliste eingeschlossen werden sollen.

filterOptions
DkmCallStackFilterOptions

[In] Flags, um anzugeben, welche Filter beim Formulieren der Aufrufliste berücksichtigt werden sollen.

address
DkmInstructionAddress[]

[Out] Die -Anweisung adressiert, auf die mithilfe von Links zum Navigieren zum Kontext im formatierten Stapel verwiesen wird. Beispiel: "insert-description-here" gibt an, dass die erste Anweisungsadresse verwendet werden soll.

Gibt zurück

[Out] Die Aufrufliste als Zeichenfolge. Dies wird in Markdown formatiert, wenn AddFormatting auf true festgelegt ist. Dies ist leer, wenn die Aufrufliste nicht angezeigt werden soll.

Gilt für: