This documentation is archived and is not being maintained.
ITeamFoundationContextManager2 Interface
Visual Studio 2013
Get this service to monitor changes to the current context associated with the Team Explorer window. This implementation also allows full Setting of the context with all parameters.
This API is not CLS-compliant. Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
The ITeamFoundationContextManager2 type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CurrentContext | The current context for the Team Explorer window. (Inherited from ITeamFoundationContextManager.) |
| Name | Description | |
|---|---|---|
![]() | SetContext(TfsTeamProjectCollection, String) | Creates and sets the new ITeamFoundationContext for the Team Explorer window. (Inherited from ITeamFoundationContextManager.) |
![]() | SetContext(TfsTeamProjectCollection, String, Guid) | Creates and sets the new ITeamFoundationContext for the Team Explorer window. (Inherited from ITeamFoundationContextManager.) |
![]() | SetContext(String, String, Guid, Boolean, ActiveContextChangeReason, Boolean) | Creates and sets the new ITeamFoundationContext for the Team Explorer window. |
![]() | SetContext(TfsTeamProjectCollection, String, Guid, Boolean, ActiveContextChangeReason, Boolean) | Creates and sets the new ITeamFoundationContext for the Team Explorer window. |
| Name | Description | |
|---|---|---|
![]() | ContextChanged | An event that occurs whenever the context has changed. (Inherited from ITeamFoundationContextManager.) |
![]() | ContextChanging | 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. (Inherited from ITeamFoundationContextManager.) |
Show:
