Can a method attribute execute code on method use?

  • Thread starter Thread starter Tim Smith
  • Start date Start date
T

Tim Smith

I have a large number of methods across different classes accessed via
remoting.

Every time a method is executed I would like to update a status object
- keeping count of the number of method executions.

Is this possible using a custom attribute or is there an alternate
method?

thanks

Tim
 
Custom attribute is something a bit unrelated to what you're trying to do.
Try searching for Performance Counters.

-Rob Teixeira
 
Back
Top