This documentation is archived and is not being maintained.

ITeamFoundationContextManager::ContextChanging Event

An event that occurs whenever the server context is changing, provides listeners the ability to cancel the change or add IVsHierarchy items that have to be prompted for save before switching the active server.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

event EventHandler<ContextChangingEventArgs^>^ ContextChanging {
	void add (EventHandler<ContextChangingEventArgs^>^ value);
	void remove (EventHandler<ContextChangingEventArgs^>^ value);
}

Show: