UserControl.Trace 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 TraceContext 目前網頁請求的物件。
public:
property System::Web::TraceContext ^ Trace { System::Web::TraceContext ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Web.TraceContext Trace { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Trace : System.Web.TraceContext
Public ReadOnly Property Trace As TraceContext
屬性值
來自 TraceContext 物件中目前網頁請求的資料。
- 屬性
備註
追蹤並呈現網頁請求的執行細節。 要讓描圖資料在渲染頁面中可見,你必須啟用該頁面的描摹功能。
預設情況下,頁面追蹤是被關閉的。 要啟用頁面追蹤,請使用以下 @ 頁面 指令: <%@ 頁面追蹤=「true」%>