語言

ExceptionDetail.StackTrace 屬性

定義

從傳給建構子的例外中取得或設定堆疊追蹤資訊。

public:
 property System::String ^ StackTrace { System::String ^ get(); void set(System::String ^ value); };
[System.Runtime.Serialization.DataMember]
public string StackTrace { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.StackTrace : string with get, set
Public Property StackTrace As String

屬性值

例外的堆疊追蹤。

屬性

備註

執行堆疊會記錄當下所有正在執行的方法。 方法呼叫的痕跡稱為堆疊軌跡。

適用於