StateChangeEventArgs

StateChangeEventArgs

System.Data (system.data.dll) sealed class

This class provides data for the method that handles the StateChanged event of a provider-specific Connection object. It indicates the state of the Connection before ( CurrentState ) and after ( OriginalState ) the state change.

 public sealed class  StateChangeEventArgs  : EventArgs {  // Public Constructors  public  StateChangeEventArgs  (ConnectionState   originalState   ,  ConnectionState   currentState   );  // Public Instance Properties  public ConnectionState  CurrentState  {get; }     public ConnectionState  OriginalState  {get; }  } 

Hierarchy

System.Object figs/u2192.gif System.EventArgs figs/u2192.gif StateChangeEventArgs

Passed To

StateChangeEventHandler.{BeginInvoke( ) , Invoke( )}



ADO. NET in a Nutshell
ADO.NET in a Nutshell
ISBN: 0596003617
EAN: 2147483647
Year: 2005
Pages: 415

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net