Hi,
I have a doubt regarding the Trace Event in Enterprise Instrumentation
Framework..
We want to pass an object to TraceCallEnterEvent and
TraceCallReturnEvent. The objective is to see all the member variables
of that object in the windows trace.
Both of them(TraceCallReturnEvent and TraceCallReturnEvent) has got
10 overloaded methods for Raise, out of which we are planningt to use
"Raise(string softwareElement, string memberSignature, string
arguments)".
we would be creating the argument string using a string builder
function.( eg : string = obj1.member1 + obj1.member2).
Is it the right way to do so or is there any other efficient method.
if this is the only way, would it have a performance hit because of
the string concatenation?
There is another overloaded method, (Raise(string softwareElement,
string memberSignature, string argumentFormat, object arg0)).
Does it have a better performance?
Thanks
Anoop
|