다음을 통해 공유


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)

Syntax

'Declaration
Event ContextChanging As EventHandler(Of ContextChangingEventArgs)
event EventHandler<ContextChangingEventArgs> ContextChanging
event EventHandler<ContextChangingEventArgs^>^ ContextChanging {
    void add (EventHandler<ContextChangingEventArgs^>^ value);
    void remove (EventHandler<ContextChangingEventArgs^>^ value);
}
abstract ContextChanging : IEvent<EventHandler<ContextChangingEventArgs>,
    ContextChangingEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

ITeamFoundationContextManager Interface

Microsoft.TeamFoundation.Client Namespace