DataConnectionSupport.RaiseStateChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the state changed event on the enclosing DataConnection instance.
protected:
void RaiseStateChanged(Microsoft::VisualStudio::Data::DataConnectionState oldState, Microsoft::VisualStudio::Data::DataConnectionState newState);
protected void RaiseStateChanged (Microsoft.VisualStudio.Data.DataConnectionState oldState, Microsoft.VisualStudio.Data.DataConnectionState newState);
member this.RaiseStateChanged : Microsoft.VisualStudio.Data.DataConnectionState * Microsoft.VisualStudio.Data.DataConnectionState -> unit
Protected Sub RaiseStateChanged (oldState As DataConnectionState, newState As DataConnectionState)
Parameters
- oldState
- DataConnectionState
The state of the connection prior to raising the StateChanged event.
- newState
- DataConnectionState
The state of the connection subsequent to raising the StateChanged event.