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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.