Muokkaa

Jaa


TraceEventCache.Callstack Property

Definition

Gets the call stack for the current thread.

public:
 property System::String ^ Callstack { System::String ^ get(); };
public string Callstack { get; }
member this.Callstack : string
Public ReadOnly Property Callstack As String

Property Value

A string containing stack trace information. This value can be an empty string ("").

Remarks

The Callstack property gets the call stack from the StackTrace property of the Environment class. The property value lists method calls in reverse chronological order. That is, the most recent method call is described first. One line of stack trace information is listed for each method call on the stack. For more information, see StackTrace.

Applies to