ContextManager, classe
Hiérarchie d'héritage
System.Object
Microsoft.VisualStudio.Services.Integration.ContextManager
Espace de noms : Microsoft.VisualStudio.Services.Integration
Assembly : Microsoft.VisualStudio.Services.Integration (dans Microsoft.VisualStudio.Services.Integration.dll)
Syntaxe
'Déclaration
Public NotInheritable Class ContextManager _
Implements IDisposable, ITeamFoundationContextManager2, ITeamFoundationContextManager, ITeamFoundationConnectionManager
public sealed class ContextManager : IDisposable,
ITeamFoundationContextManager2, ITeamFoundationContextManager, ITeamFoundationConnectionManager
Le type ContextManager expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
ContextManager |
Début
Propriétés
Nom | Description | |
---|---|---|
![]() |
CurrentContext | Le contexte actuel pendant la fenêtre Explorateur d'équipes. |
![]() |
IsConnecting | Sommes nous dans le processus sur l'authentification au serveur par défaut sur le thread d'arrière-plan. |
Début
Méthodes
Nom | Description | |
---|---|---|
![]() |
CancelConnecting | Annule se connecter à un serveur si le rapport est généré de façon asynchrone. |
![]() |
ClearDefaultConnection | |
![]() |
Connect() | |
![]() |
Connect(TeamProjectPickerMode, Boolean) | |
![]() |
Dispose | |
![]() |
Equals | Détermine si l'objet spécifié est identique à l'objet actuel. (Hérité de Object.) |
![]() |
GetHashCode | Sert de fonction de hachage par défaut. (Hérité de Object.) |
![]() |
GetType | Obtient le Type de l'instance actuelle. (Hérité de Object.) |
![]() |
SaveItems | |
![]() |
SetContext(TfsTeamProjectCollection, String) | Crée et définit le nouvel ITeamFoundationContext pour la fenêtre Explorateur d'équipes. |
![]() |
SetContext(TfsTeamProjectCollection, String, Guid) | Crée et définit le nouvel ITeamFoundationContext pour la fenêtre Explorateur d'équipes. |
![]() |
SetContext(String, String, Guid, Boolean, ActiveContextChangeReason, Boolean) | Crée et définit le nouvel ITeamFoundationContext pour la fenêtre Explorateur d'équipes. |
![]() |
SetContext(TfsTeamProjectCollection, String, Guid, Boolean, ActiveContextChangeReason, Boolean) | Crée et définit le nouvel ITeamFoundationContext pour la fenêtre Explorateur d'équipes. |
![]() |
ToString | Retourne une chaîne qui représente l'objet actif. (Hérité de Object.) |
Début
Événements
Nom | Description | |
---|---|---|
![]() |
ConnectionCompleted | |
![]() |
ConnectionStarting | |
![]() |
ContextChanged | |
![]() |
ContextChanging |
Début
Sécurité des threads
Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.