NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Exception.StackTrace

Retrieves the stack trace, which is valuable for determining where the error occurred.

[Visual Basic]
Overridable Public ReadOnly Property StackTrace As String
[C#]
public string StackTrace {virtual get;}
[C++]
public: __property virtual String* get_StackTrace();
[JScript]
public function get StackTrace() : String;

Property Value

The stack trace in String form.

Remarks

By default, the stack trace is captured immediately before an exception object is thrown. However, the stack trace capture mode, as it is called, can be changed via the SetStackTraceCapture method of the System.Runtime class. The System.Runtime.GetStackTrace method of the Runtime class can be used to get the stack trace.

See Also

Exception Class | Exception Members | System Namespace