Compartilhar via


Construtor DataConnectionStateChangedEventArgs

Construtor da classe.Inicializa uma nova instância da classe de DataConnectionStateChangedEventArgs e fornece os estados antigas e novos.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (em Microsoft.VisualStudio.Data.dll)

Sintaxe

'Declaração
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
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

DataConnectionStateChangedEventArgs Classe

Namespace Microsoft.VisualStudio.Data

DataConnectionState