Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Microsoft.TeamFoundation.Client namespace provides the APIs to connect to Visual Studio Team Foundation Server and to access data about team project collections and team projects.
You can use TfsConfigurationServer to connect to a team project, and you can use TfsTeamProjectCollection with CatalogNode to access data about team project collections and team projects. For more information, see Connect to Team Foundation Server from a Console Application.
You can access more data about team projects by using TfsTeamProjectCollection.GetServiceInstance or TfsConfigurationServer.GetServiceInstance to obtain objects such as the WorkItemStore and VersionControlServer classes and the IBuildServer interface. For more information, see the discussion of GetServiceInstance in Connect to Team Foundation Server from a Console Application.
Classes
Class | Description | |
---|---|---|
![]() |
ArtifactVersionSpec | Set of well-known ArtifactSpec versions. |
![]() |
BasicAuthCredential | Provides a credential for basic authentication against a Team Foundation Server. |
![]() |
BasicAuthToken | Provides a token for basic authentication of internet identities. |
![]() |
BorderPanel | This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code. |
![]() |
ClientContext | Represents the context of a command that is initiated by a client application. |
![]() |
ConfirmationBuilder | Responsible for processing entries for the Confirmation Page from individual wizard pages. |
![]() |
ConnectedUserContext | |
![]() |
ConnectionUserChangedEventArgs | |
![]() |
ConnectivityFailureStatusChangedEventArgs | The EventArgs object provided to event handlers for the ConnectivityFailureStatusChanged event on TfsConnection. |
![]() |
ContextChangedEventArgs | EventArgs for the ContextChanged event on the ITeamFoundationContextManager interface. |
![]() |
ContextChangingEventArgs | EventArgs for the ContextChanging event on the ITeamFoundationContextManager interface. |
![]() |
CookieCredential | Provides federated authentication with a hosted TfsConnection instance using cookies. |
![]() |
CookieToken | Provides a cookie-based authentication token. |
![]() |
CredentialsChangedEventArgs | Contains properties that are affected when the credentials of the Team Foundation Server object change. |
![]() |
DeletionException | Thrown when an error occurs during a deletion. |
![]() |
DragDrop | |
![]() |
DragDropParameters | |
![]() |
FederatedCredential | Provides a common implementation for federated credentials. |
![]() |
GzipResourceReader | |
![]() |
InformationBar | This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code. |
![]() |
IssuedToken | Provides a common base class for issued tokens. |
![]() |
IssuedTokenCredential | Provides a common base class for issued token credentials. |
![]() |
LinksCollection | Represents a collection of mappings of artifact IDs to their respective artifact URLs that were created during methodology template instantiation. |
![]() |
LogLevels | Describes different categories for log entries. |
![]() |
NotificationManager | Delivers notifications of events across processes in a single desktop. This is used to keep the user interfaces in Visual Studio current regarding changes that are enacted locally, such as version control workspace manipulation. |
![]() |
OAuthToken | Provides a token that is used for OAuth delegation based authentication |
![]() |
OAuthTokenContainer | A container to encapsulate an OAuth access token and an OAuth refresh token (or authorization code) |
![]() |
OAuthTokenCredential | |
![]() |
PcwException | Thrown for an exception with the project creation wizard. |
![]() |
PerfTraceListener | Listens for performance traces. |
![]() |
PluginInitializationFailedException | Thrown when a plug-in failed to initialize. |
![]() |
ProjectCreationContext | Represents the methodology template configuration information that is used by plug-ins when executing methodology template tasks. |
![]() |
ProjectCreationMacroResolver | Resolves and replaces macros in ProjectCreationSupportedMacros. |
![]() |
ProjectCreationSupportedMacros | Contains macros that are supported by the project creation wizard. |
![]() |
PropertyBag | Represents an unordered collection of properties and their values. |
![]() |
PropertyChangeEventArgs | Arguments for a property change event. |
![]() |
PropertyDoesNotExistException | Thrown when a property does not exist. |
![]() |
ProxyStatistics | This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code. |
![]() |
ProxyStatisticsInfo | This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code. |
![]() |
PublicDataKeys | Contains the string constants for public data keys. |
![]() |
ReadOnlyDictionary<TKey, TValue> | A read-only version of IDictionary<TKey, TValue>. |
![]() |
RegisteredConfigurationServer | Describes a registered configuration server. |
![]() |
RegisteredProjectCollection | Describes a registered project collection. |
![]() |
RegisteredServers | Obsolete. Manages the list of registered servers in the System registry. |
![]() |
RegisteredTfsConnections | Class that represents a registry of Team Foundation Server connections. |
![]() |
SimpleWebToken | Provides simple Web token that is used for OAuth authentication. |
![]() |
SimpleWebTokenCredential | Provides federated authentication with a hosted TfsConnection instance using simple Web tokens. |
![]() |
TeamFoundationDateTimePicker | This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code. |
![]() |
TeamFoundationServer | Obsolete. Represents a connection to a server that is running Team Foundation Server. |
![]() |
TeamFoundationServerFactory | Obsolete. Class factory for TeamFoundationServer objects. This class is obsolete. Use TfsTeamProjectCollectionFactory instead. |
![]() |
TeamFoundationSoapProxy | Obsolete. Provides the protocol for Team Foundation object communication by using SOAP. |
![]() |
TeamFoundationTeam | This is a wrapper class for a Team identity that makes it convenient for working with properties. It also provides helper methods to create, update, query and read Teams on server |
![]() |
TeamProjectDeleter | This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code. |
![]() |
TeamProjectDeleter.StatusEventArgs | This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code. |
![]() |
TeamProjectPicker | Provides a dialog to select a collection of TeamFoundation projects. |
![]() |
TeamProjectWizardPage | Represents a page in the project creation wizard. |
![]() |
TeamPropertiesView | Base abstract class for all team view objects. Team view objects follows facade pattern. In this regard team view objects provide easy way to access complex or domain specific properties that require additional insight on how they are stored in the team property bag and how they should be presented to the outside world. The view objects can consume other view objects, such as a view object that manages Agile experience specific team properties can use another view object that manages work item tracking related properties, that is which work item type in a project represents bug work items, for the team. |
![]() |
TfsClientCacheUtility | |
![]() |
TfsClientCredentials | Provides credentials to use when you connect to a Team Foundation Server. |
![]() |
TfsClientCredentialStorage | Token storage helper class that stores and retrieves authentication tokens for Team Foundation Server. |
![]() |
TfsConfigurationServer | Represents a connection to the server that is running Team Foundation Server. |
![]() |
TfsConfigurationServerFactory | Class factory for TfsConfigurationServerFactory objects. |
![]() |
TfsConfigurationServerManager | |
![]() |
TfsConnection | Represents the connection of the client to the server that is running Team Foundation Server. |
![]() |
TfsConnectionWebServiceCallEventArgs | The EventArgs object provided to event handlers for the WebServiceCallBegin and WebServiceCallEnd static events on TfsConnection. |
![]() |
TfsTeamProjectCollection | Abstracts common infrastructure for the Team Foundation system and is the parent class for Team Foundation components. |
![]() |
TfsTeamProjectCollectionFactory | Class factory for TfsTeamProjectCollection objects. |
![]() |
TfsTeamService | |
![]() |
TswaClientHyperlinkService | A utility class used to generate Team Web Access hyperlinks. |
![]() |
UICredentialsProvider | Used to prompt for Windows credentials. |
![]() |
ValidationFailedException | Thrown when validation failed. |
![]() |
WebServiceCall | Class for a Web service call. |
![]() |
WebServiceCallList | A list of Web service calls. |
![]() |
WebServiceStatList | A list of Web service statistics. |
![]() |
WebServiceStats | Contains several properties to describe a Web service. |
![]() |
WindowsCredential | Provides a credential for windows authentication against a Team Foundation Server. |
![]() |
WindowsToken |
Interfaces
Interface | Description | |
---|---|---|
![]() |
IArtifactProvider | Defines methods to retrieve an artifact and the generalized document form. |
![]() |
ICancelableAsyncResult | Represents the state of a cancelable asynchronous operation. |
![]() |
IClientContext | Describes the context for a command that is initiated by a client application. |
![]() |
IClientLinking | Interface for client linking. |
![]() |
ICredentialsProvider | Describes mechanisms for handling authentication failures for the Team Foundation components. |
![]() |
ILogger | The interface for logging implementations. Logs events into a log file. |
![]() |
ILogHandler | Handler for logging events. |
![]() |
IProjectComponentCreator | Describes the methods that a project creation wizard plug-in must implement so that it will be invoked by the execution engine. |
![]() |
IProjectContext | Obsolete. Describes the context for a Team Foundation connection. |
![]() |
IProjectCreation | Provides the methods that allow for creating team projects from a batch specification file instead of from the project creation wizard. |
![]() |
IProjectCreationPlugin | Interface for packages that provide tool handlers for project creation wizard. |
![]() |
IResultCollection<T> | Describes the mechanisms for ResultCollections. ResultCollections are enumerable and disposable. |
![]() |
IRuntimeHost | This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code. |
![]() |
ITeamFoundationContext | This interface holds information about the context of the Team Explorer window. |
![]() |
ITeamFoundationContextManager | Get this service to monitor changes to the current context associated with the Team Explorer window. |
![]() |
ITeamFoundationContextManager2 | 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. |
![]() |
ITeamProjectPickerDefaultSelectionProvider | Interface to provide the default selection to the connection dialog. |
![]() |
ITemplateExporter | Interface that provides the methods to export a methodology from the server to the client for viewing and editing. |
![]() |
ITemplateImporter | Interface that provides the methods that are required to import a methodology file. After it is imported, the methodology can be selected in a project creation wizard. |
![]() |
ITemplateValidator | Interface that provides the methods to validate a methodology before importing it. |
Delegates
Delegate | Description | |
---|---|---|
![]() |
ConnectivityFailureStatusChangedEventHandler | The signature for event handlers for the ConnectivityFailureStatusChanged event on TfsConnection. |
![]() |
CredentialsChangedEventHandler | Handler for events thrown when credentials are changed. |
![]() |
NotificationManager.GetNotificationParametersCallback | Callback to allow the notification provider to customize the parameters based on the version of the window they are talking to. |
![]() |
NotificationManager.NotificationHandler | |
![]() |
OAuthTokensReceivedCallback | A consumer provided delegate on which to be notified when the underlying API has received a set of tokens (an Access Token and a Refresh Token) in exchange for an Authorization Code or a previous Refresh Token. |
![]() |
ProjectCreationContext.PropertyChangeEventHandler | Event handler for when a property changes. |
![]() |
TeamProjectDeleter.StatusEventHandler | This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code. |
![]() |
TfsConnectionWebServiceCallEventHandler | The signature for event handlers for the WebServiceCallBegin and WebServiceCallEnd static events on TfsConnection. |
Enumerations
Enumeration | Description | |
---|---|---|
![]() |
ActiveContextChange | This enumeration is used to denote a type of context change. Each value can be combined as needed as this is a flags enum. |
![]() |
ActiveContextChangeReason | This enumeration is used to denote the reason for a context change. |
![]() |
BorderPanel.Sides | Represents the flags to indicate which sides of a panel are drawn as having a border. |
![]() |
FailureKind | Describes the type of failure that occurred. |
![]() |
ImageScalingMode | |
![]() |
InformationBar.IconType | This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code. |
![]() |
LogCategory | Describes the category of the message that is being written to a log. |
![]() |
LogFlags | Describes the flags that can describe a message that is written to a log. |
![]() |
OAuthTokenType | The type of OAuth token |
![]() |
RuntimeEnvironmentFlags | Flags that describe the runtime environment. |
![]() |
ServerCapabilities | |
![]() |
TeamProjectPickerMode | Describes the current mode for the Team Project Picker dialog. |