DkmExceptionDetails.GetStackTrace Method

Definition

Gets the stack trace for this exception. If no stack trace is available, this method returns null.

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

public:
 System::String ^ GetStackTrace();
public:
 Platform::String ^ GetStackTrace();
std::wstring GetStackTrace();
public string GetStackTrace ();
public string? GetStackTrace ();
member this.GetStackTrace : unit -> string
Public Function GetStackTrace () As String

Returns

[Out,Optional] The stack trace string or null if not available.

Exceptions

E_NODATA indicates that this exception does not have a stack trace.

Applies to