Export (0) Print
Expand All

ITeamFoundationContextManager2 Interface

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)

[CLSCompliantAttribute(false)]
[GuidAttribute("9CCFE978-9849-4338-AB18-194EA5A646C5")]
public interface ITeamFoundationContextManager2 : ITeamFoundationContextManager

The ITeamFoundationContextManager2 type exposes the following members.

  NameDescription
Public propertyCurrentContextThe current context for the Team Explorer window. (Inherited from ITeamFoundationContextManager.)
Top

  NameDescription
Public methodSetContext(TfsTeamProjectCollection, String)Creates and sets the new ITeamFoundationContext for the Team Explorer window. (Inherited from ITeamFoundationContextManager.)
Public methodSetContext(TfsTeamProjectCollection, String, Guid)Creates and sets the new ITeamFoundationContext for the Team Explorer window. (Inherited from ITeamFoundationContextManager.)
Public methodSetContext(String, String, Guid, Boolean, ActiveContextChangeReason, Boolean)Creates and sets the new ITeamFoundationContext for the Team Explorer window.
Public methodSetContext(TfsTeamProjectCollection, String, Guid, Boolean, ActiveContextChangeReason, Boolean)Creates and sets the new ITeamFoundationContext for the Team Explorer window.
Top

  NameDescription
Public eventContextChangedAn event that occurs whenever the context has changed. (Inherited from ITeamFoundationContextManager.)
Public eventContextChangingAn 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.)
Top
Show:
© 2015 Microsoft