Condividi tramite


Microsoft.TeamFoundation.Client Namespace

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
Public class ArtifactVersionSpec Set of well-known ArtifactSpec versions.
Public class BorderPanel This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public class ClientContext Represents the context of a command that is initiated by a client application.
Public class ConfirmationBuilder Responsible for processing entries for the Confirmation Page from individual wizard pages.
Public class CredentialsChangedEventArgs Contains properties that are affected when the credentials of the Team Foundation Server object change.
Public class DeletionException Thrown when an error occurs during a deletion.
Public class InformationBar This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public class LinksCollection Represents a collection of mappings of artifact IDs to their respective artifact URLs that were created during methodology template instantiation.
Public class LogLevels Describes different categories for log entries.
Public class 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.
Public class PcwException Thrown for an exception with the project creation wizard.
Public class PerfTraceListener Listens for performance traces.
Public class PluginInitializationFailedException Thrown when a plug-in failed to initialize.
Public class ProjectCreationContext Represents the methodology template configuration information that is used by plug-ins when executing methodology template tasks.
Public class ProjectCreationMacroResolver Resolves and replaces macros in ProjectCreationSupportedMacros.
Public class ProjectCreationSupportedMacros Contains macros that are supported by the project creation wizard.
Public class PropertyBag Represents an unordered collection of properties and their values.
Public class PropertyChangeEventArgs Arguments for a property change event.
Public class PropertyDoesNotExistException Thrown when a property does not exist.
Public class ProxyStatistics This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public class ProxyStatisticsInfo This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public class PublicDataKeys Contains the string constants for public data keys.
Public class QueryProxyStatisticsCompletedEventArgs This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public class ReadOnlyDictionary<TKey, TValue> A read-only version of IDictionary<TKey, TValue>.
Public class RegisteredConfigurationServer Describes a registered configuration server.
Public class RegisteredProjectCollection Describes a registered project collection.
Public class RegisteredServers Obsolete. Manages the list of registered servers in the System registry.
Public class RegisteredTfsConnections Class that represents a registry of Team Foundation Server connections.
Public class TeamFoundationDateTimePicker This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public class TeamFoundationServer Obsolete. Represents a connection to a server that is running Team Foundation Server.
Public class TeamFoundationServerFactory Obsolete. Class factory for TeamFoundationServer objects. This class is obsolete. Use TfsTeamProjectCollectionFactory instead.
Public class TeamFoundationSoapProxy Provides the protocol for Team Foundation object communication by using SOAP.
Public class TeamProjectDeleter This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public class TeamProjectDeleter.DeleteComponentEventArgs This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public class TeamProjectDeleter.StatusEventArgs This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public class TeamProjectPicker Provides a dialog to select a collection of TeamFoundation projects.
Public class TeamProjectWizardPage Represents a page in the project creation wizard.
Public class TfsConfigurationServer Represents a connection to the server that is running Team Foundation Server.
Public class TfsConfigurationServerFactory Class factory for TfsConfigurationServerFactory objects.
Public class TfsConnection Represents the connection of the client to the server that is running Team Foundation Server.
Public class TfsTeamProjectCollection Abstracts common infrastructure for the Team Foundation system and is the parent class for Team Foundation components.
Public class TfsTeamProjectCollectionFactory Class factory for TfsTeamProjectCollection objects.
Public class TswaClientHyperlinkService A utility class to generate Team Web Access hyperlinks.
Public class UICredentialsProvider UICredentialsProvider is used to prompt for Windows credentials.
Public class ValidationFailedException Thrown when validation failed.
Public class WebServiceCall Class for a Web service call.
Public class WebServiceCallList A list of Web service calls.
Public class WebServiceStatList A list of Web service statistics.
Public class WebServiceStats Contains several properties to describe a Web service.
Public class WindowWaitCursor This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.

Interfaces

  Interface Description
Public interface IArtifactProvider Defines methods to retrieve an artifact and the generalized document form.
Public interface ICancelableAsyncResult Represents the state of a cancelable asynchronous operation.
Public interface IClientContext Describes the context for a command that is initiated by a client application.
Public interface IClientLinking Interface for client linking.
Public interface ICredentialsProvider Describes mechanisms for handling authentication failures for the Team Foundation components.
Public interface ILogger The interface for logging implementations. Logs events into a log file.
Public interface ILogHandler Handler for logging events.
Public interface IProjectComponentCreator Describes the methods that a project creation wizard plug-in must implement so that it will be invoked by the execution engine.
Public interface IProjectContext Describes the context for a Team Foundation connection.
Public interface IProjectCreation Provides the methods that allow for creating team projects from a batch specification file instead of from the project creation wizard.
Public interface IProjectCreationPlugin Interface for packages that provide tool handlers for project creation wizard.
Public interface IResultCollection<T> Describes the mechanisms for ResultCollections. ResultCollections are enumerable and disposable.
Public interface IRuntimeHost This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public interface ITeamProjectPickerDefaultSelectionProvider Interface to provide the default selection to the connection dialog.
Public interface ITemplateExporter Interface that provides the methods to export a methodology from the server to the client for viewing and editing.
Public interface 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.
Public interface ITemplateValidator Interface that provides the methods to validate a methodology before importing it.

Delegates

  Delegate Description
Public delegate CredentialsChangedEventHandler Handler for events thrown when credentials are changed.
Public delegate ProjectCreationContext.PropertyChangeEventHandler Event handler for when a property changes.
Public delegate QueryProxyStatisticsCompletedEventHandler This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public delegate TeamProjectDeleter.DeleteComponentEventHandler This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public delegate TeamProjectDeleter.StatusEventHandler This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.

Enumerations

  Enumeration Description
Public enumeration BorderPanel.Sides Represents the flags to indicate which sides of a panel are drawn as having a border.
Public enumeration FailureKind Describes the type of failure that occurred.
Public enumeration InformationBar.IconType This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Public enumeration LogCategory Describes the category of the message that is being written to a log.
Public enumeration LogFlags Describes the flags that can describe a message that is written to a log.
Public enumeration RuntimeEnvironmentFlags Flags that describe the runtime environment.
Public enumeration TeamProjectPickerMode Describes the current mode for the Team Project Picker dialog.