Share via


DataConnectionSupport.RaiseStateChanged, méthode

Déclenche l'événement modifié par rapport à l'instance englobante d' DataConnection .

Espace de noms :  Microsoft.VisualStudio.Data
Assembly :  Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)

Syntaxe

'Déclaration
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
)

Paramètres

Notes

L'implémentation par défaut de la classe d' DataConnectionState fournit trois états : open, closed, et broken.

Sécurité .NET Framework

Voir aussi

Référence

DataConnectionSupport Classe

Microsoft.VisualStudio.Data, espace de noms