Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Services.Integration.ContextManager
Namespace: Microsoft.VisualStudio.Services.Integration
Assembly: Microsoft.VisualStudio.Services.Integration (in Microsoft.VisualStudio.Services.Integration.dll)
Syntax
'Declaration
Public NotInheritable Class ContextManager _
Implements IDisposable, ITeamFoundationContextManager2, ITeamFoundationContextManager, ITeamFoundationConnectionManager
public sealed class ContextManager : IDisposable,
ITeamFoundationContextManager2, ITeamFoundationContextManager, ITeamFoundationConnectionManager
public ref class ContextManager sealed : IDisposable,
ITeamFoundationContextManager2, ITeamFoundationContextManager, ITeamFoundationConnectionManager
[<Sealed>]
type ContextManager =
class
interface IDisposable
interface ITeamFoundationContextManager2
interface ITeamFoundationContextManager
interface ITeamFoundationConnectionManager
end
public final class ContextManager implements IDisposable, ITeamFoundationContextManager2, ITeamFoundationContextManager, ITeamFoundationConnectionManager
The ContextManager type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
ContextManager |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
CurrentContext | The current context for the Team Explorer window. |
![]() |
IsConnecting | Are we in the process on authentication to the default server on the background thread. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
CancelConnecting | Cancels connecting to a server if the connection is being made asynchronously. |
![]() |
ClearDefaultConnection | |
![]() |
Connect() | |
![]() |
Connect(TeamProjectPickerMode, Boolean) | |
![]() |
Dispose | |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
SaveItems | |
![]() |
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. |
![]() |
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. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
ConnectionCompleted | |
![]() |
ConnectionStarting | |
![]() |
ContextChanged | |
![]() |
ContextChanging |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)