UserControl.Trace プロパティ

定義

現在の Web 要求に対する 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

現在の Web 要求に対する TraceContext オブジェクトのデータ。

属性

注釈

トレースは、Web 要求に関する実行の詳細を追跡して表示します。 レンダリングされたページにトレース データを表示するには、そのページのトレースを有効にする必要があります。

既定では、ページ トレースは無効になっています。 ページのトレースを有効にするには、次のように @Page ディレクティブを使用します。 <%@ Page trace="true" %>

適用対象

こちらもご覧ください