Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbConnection::OnStateChange Method (StateChangeEventArgs^)

 

Raises the StateChange event.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

protected:
virtual void OnStateChange(
	StateChangeEventArgs^ stateChange
)

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
Return to top
Show:
© 2017 Microsoft