Context.Trace.IsEnabled : Context « Development « ASP.NET Tutorial






<%@ Page Language="vb" Trace="True" %>
<html>
   <head>
      <script runat="server">
  Sub Page_Load()
     Message.Text = "Trace Enabled? " _ 
    & Context.Trace.IsEnabled
  End Sub
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>








9.8.Context
9.8.1.Context.User.Identity.Name
9.8.2.Context.AddError
9.8.3.Context.GetConfig
9.8.4.Context.IsCustomErrorEnabled
9.8.5.Context.IsDebuggingEnabled
9.8.6.Context.Items
9.8.7.Context.SkipAuthorization
9.8.8.Context.Timestamp
9.8.9.Context.Trace.IsEnabled