Error!
Success!

.NET 4.5 - Information of Caller Function (Caller Attributes)

0
kicks

.NET 4.5 - Information of Caller Function (Caller Attributes)  (Unpublished)

While debugging code “Who called my function ?” is a million dollar question. Knowing the origin of your function call is in many cases the first step in debugging any code. Until now a few ways of doing this were to look at the CallStack in visual studio or a debugger or the most common Exception.StackTrace. .NET 4.5 has added a new feature with which a function can now know who is calling it.


Kicked By:
Drop Kicked By: