DataConnectionStateChangedEventArgs Constructor
Class constructor. Initializes a new instance of the DataConnectionStateChangedEventArgs class and provides the old and new states.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Sub New ( _
oldState As DataConnectionState, _
newState As DataConnectionState _
)
public DataConnectionStateChangedEventArgs(
DataConnectionState oldState,
DataConnectionState newState
)
public:
DataConnectionStateChangedEventArgs(
DataConnectionState oldState,
DataConnectionState newState
)
new :
oldState:DataConnectionState *
newState:DataConnectionState -> DataConnectionStateChangedEventArgs
public function DataConnectionStateChangedEventArgs(
oldState : DataConnectionState,
newState : DataConnectionState
)
Parameters
oldState
Type: Microsoft.VisualStudio.Data.DataConnectionStateThe state of the data connection prior to change.
newState
Type: Microsoft.VisualStudio.Data.DataConnectionStateThe state of the data connection subsequent to change.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataConnectionStateChangedEventArgs Class