Closed ibebbs closed 10 years ago
If I recall properly (and I may not), when ESP implements a proxy, it implements two methods. Foo(input parameters) and Foo_Completed(output parameters). They are separate methods because you probably don't want to re-log the input parameters.
Even though they are separate methods, it should be using the same event code and using Start/Stop opcodes so you can do timing.
If you are seeing something else, please post some repro code and I can take a look.
Gotcha.
Apologies, I must have missed this in the (shamefully small) testing I've done so far.
No problem. Let me know if you have any issues.
Hi Jon,
I was wondering why you chose to use & _Complete events rather than using the Start & Stop EventOpCode values to signify commencement and completion of a method. Used in conjunction with a EventTask (perhaps named after the method) this approach provides enhanced tracing in the standard tooling (i.e. PerfView - which can then provide Duration Milliseconds of the operation).
Cheers, Ian