Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent of VFP's LineNo() and Program() ?
Message
From
24/05/2005 07:26:52
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Equivalent of VFP's LineNo() and Program() ?
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01017003
Message ID:
01017003
Views:
65
I wrote an ErrorLog class, based on ideas from Kevin McNeish's book. It allows for logging of errors, exceptions and straight messages to an XML log.

I can send a flag to optionally include Exception.StackTrace which I normally turn off as it is too verbose.

One thing I'm looking for, if it exists is the equivalent of VFP's LineNo() and Program() to add to the message I create. These I'd need for a straight message, not based on an Exception class.

Is here such an animal in .Net (C#)?


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Next
Reply
Map
View

Click here to load this message in the networking platform