This documentation is archived and is not being maintained.

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace

This namespace contains the classes that represent the activities used by Team Foundation Build.

Public classActivitiesResources
Public classAgentReservationSpecThis class is used to help specify the type of agent that may process an activity by using a list of tags to identify valid agents.
Public classAgentScope
Public classAgentSettingsRepresents the settings of a build agent.
Public classAgentTimeoutExceptionThrown when the thread of execution times out waiting on an agent.
Public classAgileTestPlatformInvalidArgumentException
Public classAgileTestPlatformSpecThis class encapsulates all the Agile Test Runner settings related to a Test Assembly.
Public classAgileTestPlatformTestFailureException
Public classAgileTestPrerequisiteFailException
Public classApproveRequestForCheckIn
Public classAssemblyMetadata
Public classAssemblyMetadataCollection
Public classAssociateChangesetExceptionThrown when the thread of execution encounters an error in the associate changeset activity.
Public classAssociateChangesetsAndWorkItems
Public classBuildCategoryAttributePuts an activity into the build category toolbox.
Public classBuildDropProviderProvides a common interface for copying build drops to remote storage.
Public classBuildProcessExceptionThrown when an error occurs in the build process.
Public classBuildProcessTerminateException
Public classBuildSettingsRepresents the projects to build and the configurations to build.
Public classCheckAssembliesMismatch
Public classCheckInGatedChangesRepresents the activity that checks in gated changes.
Public classConvertWorkspaceItemRepresents an activity that converts the path of a workspace item from a server path to a local path or vice-versa.
Public classConvertWorkspaceItemsRepresents the activity that converts workspace item paths on the build agent from server to local, or vice versa.
Public classCopyDirectoryRepresents the activity that copies the contents of a directory to another.
Public classCopyDirectoryExceptionThrown by the build when an error occurs during the copy directory activity.
Public classCopyDirectoryNonFatalException
Public classCreateDirectoryRepresents the activity that creates a directory.
Public classCreateWorkItemExceptionThrown by the build when an error occurs during the create work item activity.
Public classCreateWorkspace
Public classDeleteDirectoryRepresents the activity that deletes a directory.
Public classDeleteWorkspaceRepresents the activity to delete a workspace.
Public classDownloadFileRepresents the activity that downloads a file.
Public classDownloadFilesRepresents the activity that downloads one or more files from a directory.
Public classDownloadFilesExceptionThrown when the build encounters an error during the download files activity.
Public classEmptyDropLocationRootExceptionThrown when the build encounters an empty root in the drop location path.
Public classEvaluateCheckInPoliciesRepresents the activity that evaluates check-in policies.
Public classEvaluateCheckInPoliciesExceptionThrown by the build when an error occurs during the EvaluateCheckInPolicies activity.
Public classExpandEnvironmentVariables
Public classFindMatchingFilesRepresents the activity that finds files that match a pattern.
Public classGenerateRunSettings
Public classGetApprovedRequests
Public classGetBuildAgentRepresents the activity that gets an IBuildAgent object.
Public classGetBuildDetailRepresents the activity that gets an IBuildDetail object.
Public classGetBuildDirectoryRepresents an activity that gets the literal path to the build agent’s working directory.
Public classGetBuildEnvironmentRepresents the activity that gets a BuildEnvironment object.
Public classGetCommonLocalPath
Public classGetCommonServerPath
Public classGetExceptionRepresents an activity that gets the exception that occurred in the build.
Public classGetIndexedSourcesException
Public classGetPendingChanges
Public classGetRejectedRequests
Public classGetReshelvedShelveset
Public classGetShelvedChanges
Public classGetTeamProjectCollectionRepresents the activity that gets a TfsTeamProjectCollection object.
Public classGetWorkspaceRepresents the activity that gets a Workspace object.
Public classIndexSourcesRepresents the activity that embeds version control paths and version into the symbol data of .PDB files.
Public classInvalidAgileTestPlatformDirectoryException
Public classInvalidBuildTypeExceptionThrown by the build when an error occurs due to an invalid build type.
Public classInvalidBuildTypeNoDownloadExceptionThrown by the build when a download fails due to an invalid build type.
Public classInvalidMacroInBuildNumberExceptionThrown by the build when it encounters an invalid macro in the build number.
Public classInvalidRevisionFormatExceptionThrown by the build when it encounters an invalid revisions specifier format.
Public classInvalidWorkspaceMappingExceptionThrown by the build when it encounters an invalid workspace mapping.
Public classInvokeForReason
Public classInvokeProcess
Public classLabelExceptionThrown when the build encounters an error with a label.
Public classLabelNotFoundExceptionThrown by the build when an expected label was not found.
Public classLabelSourcesRepresents the activity that labels files in version control.
Public classLabelWorkspaceRepresents the activity that labels a workspace.
Public classMSBuild
Public classMSTestRepresents the activity that runs tests using MSTest.
Public classMSTestInvalidArgumentExceptionThrown by the build when an invalid argument is passed to MSTest.
Public classMSTestSpecThis class is the base class for all MSTest specifiers.
Public classNoShelvesetException
Public classNoShelvesetToCheckInExceptionThrown by the build when there is no shelveset to check in.
Public classOpenWorkItemRepresents the activity that opens a work item.
Public classParseWorkspaceSpec
Public classPlatformConfigurationRepresents the pair of platform and configuration that a solution or project is built against.
Public classPlatformConfigurationListRepresents a list of PlatformConfiguration objects.
Public classPublishAgileTestResultsException
Public classPublishLogFileException
Public classPublishSymbolsRepresents the activity that publishes the symbol data in PDB files to a SymStore symbol store.
Public classQueryShelvesets
Public classRejectRequestFromCheckIn
Public classRetryRequest
Public classRetryRequests
Public classRevertWorkspaceRepresents the activity that reverts a workspace.
Public classRunOnceEnsures that the enclosed activities run one time across all build agents.
Public classRunSettingsClass to encapsulate the parameters which are required to generate RunSettings File
Public classRunTests
Public classRunTestsRunCompletedEventArgs
Public classRunTestsRunMessageEventArgs
Public classRunTestsTestCompletedEventArgs
Public classSetBuildPropertiesRepresents the activity that sets the properties of a build.
Public classSharedResourceScopeRepresents an activity that wraps a segment of the build process to make it “thread safe”.
Public classSourceAndSymbolServerSettingsRepresents the settings for source and symbol server integration.
Public classStringListRepresents a list of strings for use in specifying parameters to the Microsoft.TeamFoundation.Build.WorkFlow.Activities namespace classes.
Public classSynchronizeRequestsRefreshes the current build information and synchronizes the local approved/rejected request lists, returning the requests that have been rejected from the provided list.
Public classSyncWorkspaceRepresents the activity that synchronizes a workspace.
Public classTestAssemblySpecContains all the MSTest settings related to a test assembly.
Public classTestFailureExceptionThrown by the build when a test fails.
Public classTestMetadataFileSpecContains MSTest settings related to a test metadata file.
Public classTestSpecRepresents a test specifier.
Public classTestSpecListRepresents a list of TestSpec objects.
Public classTfGet
Public classTfQueryConflicts
Public classTfResolve
Public classTfsBuildRepresents the activity for the Team Foundation Server build process.
Public classTfShelve
Public classTfUndo
Public classTfUnshelve
Public classTfWorkfold
Public classTooManyLogsException
Public classTrackingExtensions
Public classUnexpectedAgileTestPlatformException
Public classUnexpectedExitCodeExceptionThrown when the build encounters an unexpected exit code.
Public classUnexpectedTfsExceptionThrown by the build when an error occurs due to Team Foundation Server.
Public classUpdateBuildNumber
Public classUpdateWorkItemExceptionThrown by the build when an error occurs while attempting to update a work item.
Public classValidateTargetsFileExceptionThrown by the build when the targets file fails validation.
Public classWin32ErrorWrapperException
Public classWriteBuildErrorThrown by the build when an error occurs attempting to write data.
Public classWriteBuildInformation<T>
Public classWriteBuildMessageRepresents the activity that writes a build message.
Public classWriteBuildTestError
Public classWriteBuildWarningRepresents the activity that writes a warning to the build.
Public classWriteCustomSummaryInformation

Public enumerationCleanWorkspaceOptionContains possible values for cleaning workspaces.
Public enumerationCodeAnalysisOptionContains options to control how code analysis should be run during a build.
Public enumerationConvertWorkspaceItemDirectionContains values used to indicated the direction of a workspace item conversion.
Public enumerationExecutionPlatformTypeTarget execution platform type for agile test runner. This takes precedence over TargetPlatform specified in runsettings.
Public enumerationMacrosIndexContains valid macro names.
Public enumerationRetryBehaviorSpecifies the behavior to use when it determines how to batch requests when retried.
Public enumerationRunOnceResultDescribes the result of running a run once activity.
Public enumerationRunSettingsTypeEnumeration to capture what kind of runsettings specified by the user for test run.
Public enumerationRunTestsTestOutcome
Public enumerationTagComparisonSpecifies the strength of comparison to use when matching an agent’s tags to the specified tags in a query method.
Public enumerationTestRunMessageLevelThis enum should mirror the TestMessageLevel enum that is in the Microsoft.VisualStudio.TestPlatform.ObjectModel.dll assembly. We do not want to have to have the end user take an extra dependency on that assembly. Therefore, we translate the enum.
Public enumerationTestRunOutcomes
Public enumerationTfWorkfoldAction
Public enumerationToolPlatformSpecifies the architecture of the tool platform.