> <%@ Page Language="C#" Trace="True" %>
> <html>
> <body>
>       <% Trace.Warn("Buu","Buu"); %>
> </body>
> </html>

I was wondering in the code when I notice that Trace property in
System.Web.UI.Page is not initialized with an instance of TraceContext
(so that code throws a null reference execption). I also noticed that
all the TraceContext methods (Warn, Write) eventualy throw a
NotImplementedException.

You guys could create an instace of TraceContext, so that the programmer
would be notified that this resource is not implemented. But that would
lead to incompatibility with win code... :P

-- 
Pedro Santos <www.psantos.net>
"Si minor plus est ergo nihil sunt omnia..."

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to