troubleshooting Question

Knowing the caller method

Avatar of mte01
mte01Flag for Lebanon asked on
12 Comments3 Solutions279 ViewsLast Modified:
Hey experts,

 Is there a way using some reflection classes to know (at runtime) the caller method inside a certain method?? The thing is that I have a method that is called by around 35 methods, and I want to do a checking on just 3 or 4 caller methods, so this way would be better than adding a param for all 35 calls to make the check (since this change is only temporary)..any help on knowing the caller method??
Join our community to see this answer!
Unlock 3 Answers and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros