By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,480 Members | 1,144 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,480 IT Pros & Developers. It's quick & easy.

Trace.Assert method

P: n/a
AJ
How can I use Trace.Assert method?

It says that 'Assert' is not a member
of 'System.Web.TraceContext'.

Please help. Thanks.
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
AJ,
As the message states, Assert is not a member of System.Web.TraceContext.

It sounds like you are using ASP.NET, if you want to use
System.Diagnostics.Trace.Assert, you will need to use the fully qualified
name.

Note: System.Diagnostics.Trace is not specifically compatible with ASP.NET.
I have not used it, so I cannot guarantee that it will work, or work as you
expect. Remember ASP.NET is server side, so any dialog boxes that
System.Diagnostics.Trace may attempt to display will be on the server...

Hope this helps
Jay

"AJ" <an*******@discussions.microsoft.com> wrote in message
news:12*****************************@phx.gbl...
How can I use Trace.Assert method?

It says that 'Assert' is not a member
of 'System.Web.TraceContext'.

Please help. Thanks.

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.