Freigeben über


Microsoft.TeamFoundation Namespace

The Microsoft.TeamFoundation namespace provides classes and interfaces to work with artifacts (Artifact) in Team Foundation. This namespace also contains classes that represent general information about Visual Studio Team Foundation Server, such as TeamFoundationVersion and OperationalDatabaseNames.

You can find the Microsoft.TeamFoundation namespace in the following assemblies, which are located in Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0 on any computer where Team Explorer is installed:

  • Microsoft.TeamFoundation.dll

  • Microsoft.TeamFoundation.Common.dll

Classes

  Class Description
Public class AdminConstants Contains string constants for administering Team Foundation Server.
Public class Artifact Represents an object in Team Foundation Server.
Public class ArtifactConstants Contains constants required for artifact interoperability.
Public class ArtifactId Represents an Artifact identifier.
Public class ArtifactLink Represents a link to an Artifact.
Public class ArtifactLinkIds Contains string constants to describe an artifact link.
Public class ArtifactTypeNames Contains string constants that can be used to describe the type of an artifact.
Public class CollectionServicingTokens Contains TfsTeamProjectCollection servicing token names and values used when setting up or invoking a collection servicing method.
Public class CredentialsStorageRegistryKeywords
Public class CurrentVsVersionInformation Contains string constants describing the current version of Visual Studio.
Public class DatetimeShiftDetectedException Thrown when a difference in DateTime objects is detected.
Public class EventLogSourceNames Contains string constants to specify the source of an event log.
Public class ExtendedAttribute Represents a property of an Artifact.
Public class ExtensionNameAttribute Represents a name for an extension loaded by Team Foundation Server that overrides the extension’s fully qualified class name.
Public class FrameworkServiceIdentifiers Specifies GUIDs for Team Foundation Server framework services.
Public class GroupWellKnownSecurityIds Contains the security identifiers for well-known groups.
Public class GroupWellKnownShortNames Contains short names for well known groups.
Public class GroupWellKnownSidConstants Contains the security identifiers for well-known groups.
Public class HttpHeaderExceptions Contains string constants to describe errors in an HTTP header.
Public class HttpHeaders Contains HTTP headers for Team Foundation Server artifacts.
Public class IdentityAttributeTags Contains string constants for identity attributes.
Public class IdentityConstants Contains identity constants.
Public class IntegrationServiceIdentifiers Contains GUIDs for integration services.
Public class LinkFilter Represents a filter used to constrain the results of a query.
Public class LinkingServiceName Contains string constants for linking service names.
Public class LinkingUtilities Contains methods for validating link data.
Public class LoggingDBReportingNames Contains string constants used in the logging database to record the web service that submitted each log record.
Public class NotificationConstants Constant strings used in Notifications
Public class OperationalDatabaseNames Contains string constants used for database operations.
Public class OperationCanceledException Obsolete. Thrown when an operation is canceled, either by the user or through the object model.
Public class OutboundLink Represents a link to resources external to Team Foundation Server.
Public class PermissionActionIdConstants Contains string constant to specify a permission action.
Public class PermissionNamespaces Contains string constants to describe a permission namespace.
Public class PermissionObjectClasses Contains string constants to specify a permission object.
Public class PluginActivationException
Public class PluginCatalog
Public class PluginCatalogHelper
Public class PluginCatalogImpl
Public class PluginCategory
Public class PluginRecord
Public class ProcessTemplateTypeIdentifiers
Public class RedirectCommands
Public class SccDataKeys Contains string constants for SCC data keys.
Public class ServerAttributes Contains string constants to describe server attributes.
Public class ServiceInterfaces Contains string constants and GUIDs
Public class SpecialUrls Contains string constants for special URLs for Team Foundation Server.
Public class StandardPluginCatalogFactory
Public class StandardSqlError Contains constants for SQL error numbers.
Public class TeamFoundationClientVersionCheckException This exception is thrown when the server version is not supported by the client
Public class TeamFoundationExceptionFormatter Provides methods to format an exception to be more readable to the end-user.
Public class TeamFoundationInvalidAuthenticationException Indicates that the authentication with the remote server cannot be fulfilled.
Public class TeamFoundationInvalidServerNameException Thrown when the client receives an invalid server name.
Public class TeamFoundationServerException The base exception class for all exceptions thrown by Team Foundation Server.
Public class TeamFoundationServerInvalidRequestException Thrown when the server returns a 400 (Bad Request) status code.
Public class TeamFoundationServerInvalidResponseException Thrown when HTML is returned from a SOAP call.
Public class TeamFoundationServerSetupConstants
Public class TeamFoundationServerUnauthorizedException Thrown when the user is rejected by the Web server because the user is not authorized to access the specified site or service.
Public class TeamFoundationServerVersionCheckException Thrown when the user is rejected by the web server due to a mismatch in Team Foundation Server versions (i.e. client and server are running different versions of Visual Studio).
Public class TeamFoundationServiceUnavailableException Thrown when the service name passed to the client is invalid.
Public class TeamFoundationTextWriterTraceListener Represents a trace listener for Team Foundation Server text writer.
Public class TeamFoundationTrace Represents a trace on Team Foundation Server.
Public class TeamFoundationVersion Contains methods and properties to assist in checking whether the server’s version of software is compatible with the client’s.
Public class TFConstants
Public class TfsSecurity Contains string constants relevant for security.
Public class TFStringComparer Specifies culture, case, and sorting rules for various Team Foundation Server strings.
Public class ToolNames Contains string constants used in registration entries.
Public class TraceComponentNames Contains string constants used for trace reporting of the components in this class.
Public class TraceKeywords Common trace keywords that may be used across teams. Feel free to add keywords that will be useful to all teams. Team-specific feature keywords should be kept in the team's own code area.
Public class TraceKeywordSets Set of common trace keyword arrays.
Public class TraceType Contains string constants used to describe the trace type.

Interfaces

  Interface Description
Public interface ILinking Interface for client-side linking mechanisms.
Public interface ILinkingConsumer Interface to be implemented by a linking artifact consumer.
Public interface ILinkingProvider Interface to be implemented by a linking artifact provider.

Enumerations

  Enumeration Description
Public enumeration CredentialProcurement
Public enumeration FilterType Describes the type of a filter.
Public enumeration FolderCreateMode Describes the mode for a new folder creation.
Public enumeration TeamFoundationAuthenticationError Specifies the errors which may occur during authentication.

See Also

Reference

Other Resources

Extending Team Foundation