UserControl.Trace 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 the TraceContext object for the current Web request.
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
Property Value
The data from the TraceContext object for the current Web request.
- Attributes
Remarks
Tracing tracks and presents the execution details about a Web request. For trace data to be visible in a rendered page, you must enable tracing for that page.
By default, page tracing is disabled. To enable tracing for a page, use the @ Page directive as follows: <%@ Page trace="true" %>
Applies to
See also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour