6.4.7.5 StateChange
This event is triggered when the connection state changes.
Declaration
// C# public override event StateChangeEventHandler StateChange;
Event Data
The event handler receives a StateChangeEventArgs object which exposes the following properties containing information about the event.
                  
- 
                        CurrentStateThe new state of the connection. 
- 
                        OriginalStateThe original state of the connection. 
Remarks
The StateChange event is raised after a connection changes state, whenever an explicit call is made to Open, Close or Dispose.
                  
See Also:
- 
                           "Oracle.DataAccess.Client and Oracle.ManagedDataAccess.Client Namespaces" 
- 
                           Microsoft ADO.NET documentation for a description of StateChangeEventHandler