Handles the StateChanged event.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Protected Overridable Sub OnStateChanged ( _
e As DataConnectionStateChangedEventArgs _
)
'使用
Dim e As DataConnectionStateChangedEventArgs
Me.OnStateChanged(e)
protected virtual void OnStateChanged(
DataConnectionStateChangedEventArgs e
)
protected:
virtual void OnStateChanged(
DataConnectionStateChangedEventArgs^ e
)
protected function OnStateChanged(
e : DataConnectionStateChangedEventArgs
)
Parameters
e
Type: Microsoft.VisualStudio.Data.Services.DataConnectionStateChangedEventArgsA DataConnectionStateChangedEventArgs object containing the event data.
Permissions
- 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.