DbConnection::OnStateChange Method (StateChangeEventArgs^)
.NET Framework (current version)
Raises the StateChange event.
Assembly: System.Data (in System.Data.dll)
Parameters
- stateChange
-
Type:
System.Data::StateChangeEventArgs^
A StateChangeEventArgs that contains the event data.
Raising an event invokes the event handler through a delegate. For an overview, see NIB: Raising an Event.
Notes to Inheritors:
When overriding OnStateChange in a derived class, be sure to call the base class's OnStateChange method.
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: