Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

StateChangeEventArgs Constructor

Initializes a new instance of the StateChangeEventArgs class, when given the original state and the current state of the object.

[Visual Basic]
Public Sub New( _
   ByVal originalState As ConnectionState, _
   ByVal currentState As ConnectionState _
)
[C#]
public StateChangeEventArgs(
   ConnectionState originalState,
 ConnectionState currentState
);
[C++]
public: StateChangeEventArgs(
   ConnectionState originalState,
 ConnectionState currentState
);
[JScript]
public function StateChangeEventArgs(
   originalState : ConnectionState,
 currentState : ConnectionState
);

Parameters

originalState
One of the ConnectionState values.
currentState
One of the ConnectionState values.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

StateChangeEventArgs Class | StateChangeEventArgs Members | System.Data Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.