RazorPageBase.DiagnosticSource Property
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); };
C#
[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
- Attributes
-
Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute
Product | Versions |
---|---|
ASP.NET Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |