RazorPage.DiagnosticSource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a DiagnosticSource() instance used to instrument the page execution.
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
Property Value
- Attributes
-
Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute