共用方式為


RazorPageBase.DiagnosticSource 屬性

定義

取得或設定 DiagnosticSource 用來檢測頁面執行的實例。

public:
 property System::Diagnostics::DiagnosticSource ^ DiagnosticSource { System::Diagnostics::DiagnosticSource ^ get(); void set(System::Diagnostics::DiagnosticSource ^ value); };
[Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInject]
public System.Diagnostics.DiagnosticSource DiagnosticSource { get; set; }
[<Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInject>]
member this.DiagnosticSource : System.Diagnostics.DiagnosticSource with get, set
Public Property DiagnosticSource As DiagnosticSource

屬性值

屬性
Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute

適用於