Enabling tracing in the constructor of a component class

G

Guest

My question is: what is the result of enabling tracing in the constructor of
a component class and will it automatically be enabled in the asp page or do
I have to enable Trace at the page level also?

Also, what is the code that is used in the method. When I do a Trace.enabled
= True in my constructor, the application errors out.

Thank you very much in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Tracing 1
Tracing and Server.Transfer 1
Class Constructor!!! 1
Static Constructor in ASP.NET app 5
Tracing 1
efficiently using .net Tracing 2
Design question 4
Application level trace stops tracing 5

Top