共用方式為


Microsoft.TeamFoundation.Build.Workflow.Activities Namespace

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

You can find the Microsoft.TeamFoundation.Build.Workflow.Activities namespace in Microsoft.TeamFoundation.Build.Workflow.dll on a computer that is running the Team Foundation build service.

Classes

  Class Description
Public class ActivitiesResources
Public class AgentReservationSpec This 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 class AgentScope
Public class AgentSettings Represents the settings of a build agent.
Public class AgentTimeoutException Thrown when the thread of execution times out waiting on an agent.
Public class AgileTestPlatformInvalidArgumentException
Public class AgileTestPlatformSpec This class encapsulates all the Agile Test Runner settings related to a Test Assembly.
Public class AgileTestPlatformTestFailureException
Public class AgileTestPrerequisiteFailException
Public class ApproveRequestForCheckIn
Public class AssemblyMetadata
Public class AssemblyMetadataCollection
Public class AssociateChangesetException Thrown when the thread of execution encounters an error in the associate changeset activity.
Public class AssociateChangesetsAndWorkItems
Public class BuildCategoryAttribute Puts an activity into the build category toolbox.
Public class BuildDropProvider Provides a common interface for copying build drops to remote storage.
Public class BuildProcessException Thrown when an error occurs in the build process.
Public class BuildProcessTerminateException
Public class BuildSettings Represents the projects to build and the configurations to build.
Public class CheckAssembliesMismatch
Public class CheckInGatedChanges Represents the activity that checks in gated changes.
Public class ConvertWorkspaceItem Represents an activity that converts the path of a workspace item from a server path to a local path or vice-versa.
Public class ConvertWorkspaceItems Represents the activity that converts workspace item paths on the build agent from server to local, or vice versa.
Public class CopyDirectory Represents the activity that copies the contents of a directory to another.
Public class CopyDirectoryException Thrown by the build when an error occurs during the copy directory activity.
Public class CopyDirectoryNonFatalException
Public class CreateDirectory Represents the activity that creates a directory.
Public class CreateWorkItemException Thrown by the build when an error occurs during the create work item activity.
Public class CreateWorkspace
Public class DeleteDirectory Represents the activity that deletes a directory.
Public class DeleteWorkspace Represents the activity to delete a workspace.
Public class DownloadFile Represents the activity that downloads a file.
Public class DownloadFiles Represents the activity that downloads one or more files from a directory.
Public class DownloadFilesException Thrown when the build encounters an error during the download files activity.
Public class EmptyDropLocationRootException Thrown when the build encounters an empty root in the drop location path.
Public class EvaluateCheckInPolicies Represents the activity that evaluates check-in policies.
Public class EvaluateCheckInPoliciesException Thrown by the build when an error occurs during the EvaluateCheckInPolicies activity.
Public class ExpandEnvironmentVariables
Public class FindMatchingFiles Represents the activity that finds files that match a pattern.
Public class GenerateRunSettings
Public class GetApprovedRequests
Public class GetBuildAgent Represents the activity that gets an IBuildAgent object.
Public class GetBuildDetail Represents the activity that gets an IBuildDetail object.
Public class GetBuildDirectory Represents an activity that gets the literal path to the build agent’s working directory.
Public class GetBuildEnvironment Represents the activity that gets a BuildEnvironment object.
Public class GetCommonLocalPath
Public class GetCommonServerPath
Public class GetException Represents an activity that gets the exception that occurred in the build.
Public class GetIndexedSourcesException
Public class GetPendingChanges
Public class GetRejectedRequests
Public class GetReshelvedShelveset
Public class GetShelvedChanges
Public class GetTeamProjectCollection Represents the activity that gets a TfsTeamProjectCollection object.
Public class GetWorkspace Represents the activity that gets a Workspace object.
Public class IndexSources Represents the activity that embeds version control paths and version into the symbol data of .PDB files.
Public class InvalidAgileTestPlatformDirectoryException
Public class InvalidBuildTypeException Thrown by the build when an error occurs due to an invalid build type.
Public class InvalidBuildTypeNoDownloadException Thrown by the build when a download fails due to an invalid build type.
Public class InvalidMacroInBuildNumberException Thrown by the build when it encounters an invalid macro in the build number.
Public class InvalidRevisionFormatException Thrown by the build when it encounters an invalid revisions specifier format.
Public class InvalidWorkspaceMappingException Thrown by the build when it encounters an invalid workspace mapping.
Public class InvokeForReason
Public class InvokeProcess
Public class LabelException Thrown when the build encounters an error with a label.
Public class LabelNotFoundException Thrown by the build when an expected label was not found.
Public class LabelSources Represents the activity that labels files in version control.
Public class LabelWorkspace Represents the activity that labels a workspace.
Public class MSBuild
Public class MSTest Represents the activity that runs tests using MSTest.
Public class MSTestInvalidArgumentException Thrown by the build when an invalid argument is passed to MSTest.
Public class MSTestSpec This class is the base class for all MSTest specifiers.
Public class NoShelvesetException
Public class NoShelvesetToCheckInException Thrown by the build when there is no shelveset to check in.
Public class OpenWorkItem Represents the activity that opens a work item.
Public class ParseWorkspaceSpec
Public class PlatformConfiguration Represents the pair of platform and configuration that a solution or project is built against.
Public class PlatformConfigurationList Represents a list of PlatformConfiguration objects.
Public class PublishAgileTestResultsException
Public class PublishLogFileException
Public class PublishSymbols Represents the activity that publishes the symbol data in PDB files to a SymStore symbol store.
Public class QueryShelvesets
Public class RejectRequestFromCheckIn
Public class RetryRequest
Public class RetryRequests
Public class RevertWorkspace Represents the activity that reverts a workspace.
Public class RunOnce Ensures that the enclosed activities run one time across all build agents.
Public class RunSettings Class to encapsulate the parameters which are required to generate RunSettings File
Public class RunTests
Public class RunTestsRunCompletedEventArgs
Public class RunTestsRunMessageEventArgs
Public class RunTestsTestCompletedEventArgs
Public class SetBuildProperties Represents the activity that sets the properties of a build.
Public class SharedResourceScope Represents an activity that wraps a segment of the build process to make it “thread safe”.
Public class SourceAndSymbolServerSettings Represents the settings for source and symbol server integration.
Public class StringList Represents a list of strings for use in specifying parameters to the Microsoft.TeamFoundation.Build.WorkFlow.Activities namespace classes.
Public class SynchronizeRequests Refreshes the current build information and synchronizes the local approved/rejected request lists, returning the requests that have been rejected from the provided list.
Public class SyncWorkspace Represents the activity that synchronizes a workspace.
Public class TestAssemblySpec Contains all the MSTest settings related to a test assembly.
Public class TestFailureException Thrown by the build when a test fails.
Public class TestMetadataFileSpec Contains MSTest settings related to a test metadata file.
Public class TestSpec Represents a test specifier.
Public class TestSpecList Represents a list of TestSpec objects.
Public class TfGet
Public class TfQueryConflicts
Public class TfResolve
Public class TfsBuild Represents the activity for the Team Foundation Server build process.
Public class TfShelve
Public class TfUndo
Public class TfUnshelve
Public class TfWorkfold
Public class TooManyLogsException
Public class TrackingExtensions
Public class UnexpectedAgileTestPlatformException
Public class UnexpectedExitCodeException Thrown when the build encounters an unexpected exit code.
Public class UnexpectedTfsException Thrown by the build when an error occurs due to Team Foundation Server.
Public class UpdateBuildNumber
Public class UpdateWorkItemException Thrown by the build when an error occurs while attempting to update a work item.
Public class ValidateTargetsFileException Thrown by the build when the targets file fails validation.
Public class Win32ErrorWrapperException
Public class WriteBuildError Thrown by the build when an error occurs attempting to write data.
Public class WriteBuildInformation<T>
Public class WriteBuildMessage Represents the activity that writes a build message.
Public class WriteBuildTestError
Public class WriteBuildWarning Represents the activity that writes a warning to the build.
Public class WriteCustomSummaryInformation

Interfaces

  Interface Description
Public interface IEnvironmentVariableExtension

Enumerations

  Enumeration Description
Public enumeration CleanWorkspaceOption Contains possible values for cleaning workspaces.
Public enumeration CodeAnalysisOption Contains options to control how code analysis should be run during a build.
Public enumeration ConvertWorkspaceItemDirection Contains values used to indicated the direction of a workspace item conversion.
Public enumeration ExecutionPlatformType Target execution platform type for agile test runner. This takes precedence over TargetPlatform specified in runsettings.
Public enumeration MacrosIndex Contains valid macro names.
Public enumeration RetryBehavior Specifies the behavior to use when it determines how to batch requests when retried.
Public enumeration RunOnceResult Describes the result of running a run once activity.
Public enumeration RunSettingsType Enumeration to capture what kind of runsettings specified by the user for test run.
Public enumeration RunTestsTestOutcome
Public enumeration TagComparison Specifies the strength of comparison to use when matching an agent’s tags to the specified tags in a query method.
Public enumeration TestRunMessageLevel This 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 enumeration TestRunOutcomes
Public enumeration TfWorkfoldAction
Public enumeration ToolPlatform Specifies the architecture of the tool platform.