Thread ID for MySqlConnection object
Posted: Fri 15 Sep 2006 11:39
Hello everyone,
How can I obtain the Thread ID (or Connection ID identified by the server) for a given connection?
I was not able, so far, to retrieve this value from the MySqlConnection object yet, however, you can see it in debugger. Look at the "Session" property that is not accessible as a Public property, but is visible through the debugger. This "Session contains a variable "b" that holds the value of the Thread ID.
How can i get that thread id?
Are you planning to have this propery accessible to us - developers via a Propery or a getter method?
If not could you explain how can I get that value using reflection
Thank you for your time and consideration.
By the way, when is the next release? I need that fix on Begin/End execute reader (Different post)
good day.
Kaz
How can I obtain the Thread ID (or Connection ID identified by the server) for a given connection?
I was not able, so far, to retrieve this value from the MySqlConnection object yet, however, you can see it in debugger. Look at the "Session" property that is not accessible as a Public property, but is visible through the debugger. This "Session contains a variable "b" that holds the value of the Thread ID.
How can i get that thread id?
Are you planning to have this propery accessible to us - developers via a Propery or a getter method?
If not could you explain how can I get that value using reflection
Thank you for your time and consideration.
By the way, when is the next release? I need that fix on Begin/End execute reader (Different post)
good day.
Kaz