Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Raises the state changed event on the enclosing DataConnection instance.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Protected Sub RaiseStateChanged ( _
oldState As DataConnectionState, _
newState As DataConnectionState _
)
protected void RaiseStateChanged(
DataConnectionState oldState,
DataConnectionState newState
)
protected:
void RaiseStateChanged(
DataConnectionState oldState,
DataConnectionState newState
)
member RaiseStateChanged :
oldState:DataConnectionState *
newState:DataConnectionState -> unit
protected function RaiseStateChanged(
oldState : DataConnectionState,
newState : DataConnectionState
)
Parameters
- oldState
Type: Microsoft.VisualStudio.Data.DataConnectionState
The state of the connection prior to raising the StateChanged event.
- newState
Type: Microsoft.VisualStudio.Data.DataConnectionState
The state of the connection subsequent to raising the StateChanged event.
Remarks
The default implementation of the DataConnectionState class provides three states: open, closed, and broken.
.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.