skip to main | skip to sidebar

Usman's Blog - my techie adventures

good programmers write good code; great programmers steal great code

Thursday, January 19, 2006

Getting Caller method info

Getting Caller method name from method

StackTrace st = new StackTrace();
string str = st.GetFrame(1).GetMethod().Name;
Posted by Usman Shaheen at 3:53 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)
View Usman Shaheen's profile on LinkedIn
Web Albums

my shared items

Blog Archive

  • ►  2007 (24)
    • ►  August (1)
    • ►  July (4)
    • ►  April (2)
    • ►  March (4)
    • ►  February (8)
    • ►  January (5)
  • ▼  2006 (20)
    • ►  December (2)
    • ►  November (3)
    • ►  September (1)
    • ►  July (4)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  February (1)
    • ▼  January (6)
      • Delegates and Events in C# (1.1)
      • Debugging ASP.NET Applications with VS 2003
      • Getting Caller method info
      • Regular Expression
      • SPS 2003 installation Issue
      • Notes on C# 2.0 (Nullable Types)
  • ►  2005 (9)
    • ►  December (2)
    • ►  November (2)
    • ►  January (5)