Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the DataConnectionStateChangedEventArgs class with the old and new connection states.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.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.Services.DataConnectionStateA value from DataConnectionState representing the state the data connection was in before the last state change.
newState
Type: Microsoft.VisualStudio.Data.Services.DataConnectionStateA value from DataConnectionState representing the new state of the data connection.
.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.