Name

StateChangeEventHandler

Synopsis

This delegate represents the method that will handle the StateChanged event of a provider-specific Connection object. This event typically fires when the connection state changes from open to closed or vice versa.

public delegate void StateChangeEventHandler(object sender, StateChangeEventArgs e);

Associated Events

System.Data.OleDb.OleDbConnection.StateChange( ), System.Data.OracleClient.OracleConnection.StateChange( ), System.Data.SqlClient.SqlConnection.StateChange( )

Get ADO.NET in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.