Is trace enabled (VB.net) : Trace « Development « ASP.Net






Is trace enabled (VB.net)

<%@ Page Language="vb" %>
<html>
   <head>
      <title></title>
      <script runat="server">
         Sub Page_Load()
            If Trace.IsEnabled = True Then
               Message.Text = "Tracing is enabled."
            Else
               Message.Text = "Tracing is not enabled."
            End If
         End Sub
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>
           
       








Related examples in the same category

1.Trace for loop (VB.net)
2.Write to Trace (VB.net)
3.Use Trace to debug (VB.net)
4.Page trace mode (VB.net)
5.Write trace warn (VB.net)
6.Trace asp calendar event (C#)
7.Page Trace in code behind (C#)
8.Write debug information to trace log (C#)
9.Page Trace (C#)
10.Write to Trace log in event action (C#)