ITeamFoundationContextManager Interface
Get this service to monitor changes to the current context associated with the Team Explorer window.
This API is not CLS-compliant.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Interface ITeamFoundationContextManager
[CLSCompliantAttribute(false)]
public interface ITeamFoundationContextManager
[CLSCompliantAttribute(false)]
public interface class ITeamFoundationContextManager
[<CLSCompliantAttribute(false)>]
type ITeamFoundationContextManager = interface end
public interface ITeamFoundationContextManager
The ITeamFoundationContextManager type exposes the following members.
Properties
Name | Description | |
---|---|---|
CurrentContext | The current context for the Team Explorer window. |
Top
Methods
Name | Description | |
---|---|---|
SetContext(TfsTeamProjectCollection, String) | Creates and sets the new ITeamFoundationContext for the Team Explorer window. | |
SetContext(TfsTeamProjectCollection, String, Guid) | Creates and sets the new ITeamFoundationContext for the Team Explorer window. |
Top
Events
Name | Description | |
---|---|---|
ContextChanged | An event that occurs whenever the context has changed. | |
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. |
Top