Freigeben über


DataConnectionSupport.RaiseStateChanged-Methode

Löst das Zustand Changed-Ereignis auf der einschließenden DataConnection-Instanz aus.

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
)

Parameter

Hinweise

Die Standardimplementierung der DataConnectionState-Klasse stellt drei Zustände: open, closed und broken.

.NET Framework-Sicherheit

Siehe auch

Referenz

DataConnectionSupport Klasse

Microsoft.VisualStudio.Data-Namespace