Bug #87306 StateChangeEventHandler not available as delegate
| Submitted: | 3 Aug 2017 15:27 | Modified: | 20 Apr 2018 6:16 |
|---|---|---|---|
| Reporter: | Andreas Goth | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | Connector / NET | Severity: | S3 (Non-critical) |
| Version: | Net 6.9.9 Ass V4.5 | OS: | Windows |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | StateChange C# StateChangeEventHandler delegates | ||
[3 Aug 2017 15:27]
Andreas Goth
[10 Aug 2017 12:13]
Chiranjeevi Battula
Hello Andreas Goth, Thank you for the bug report. Could you please try this one: localConn.StateChange += new System.Data.StateChangeEventHandler(dummyfunction); Thanks, Chiranjeevi.
[11 Aug 2017 6:45]
Andreas Goth
Hello Chiranjeevi Battula, i can compile it but the function "dummyfunction" will never executed. And now i cannnot execute any "MySqlCommand". First i use the same function periodicly wihtin an "dispatcherTimer.Tick" Event and i can recognize any change of the state. Everything works fine... When i using the same Function wihtin the "MySql.Data.MySqlClient.MySqlConnection" event, the same function will never executed and any command execution says that the connection is broken. Something still not working :-)
[20 Apr 2018 6:16]
Chiranjeevi Battula
Hello Andreas Goth, Thank you for the bug report. Verified based on internal discussion with dev's. Thanks, Chiranjeevi.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.