//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // // [....] // [....] //------------------------------------------------------------------------------ namespace System.Data { using System; public sealed class StateChangeEventArgs : System.EventArgs { private ConnectionState originalState; private ConnectionState currentState; public StateChangeEventArgs(ConnectionState originalState, ConnectionState currentState) { this.originalState = originalState; this.currentState = currentState; } public ConnectionState CurrentState { get { return this.currentState; } } public ConnectionState OriginalState { get { return this.originalState; } } } }