This documentation is archived and is not being maintained.
InformationNodeConverters::AddBuildStep Method (IBuildDetail, String, String)
Visual Studio 2013
Adds a top-level build step to the specified build with a start time of DateTime.Now. Saves to the server.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
public: static IBuildStep^ AddBuildStep( IBuildDetail^ build, String^ name, String^ message )
Parameters
- build
- Type: Microsoft.TeamFoundation.Build.Client::IBuildDetail
The build to which the build step will be added.
- name
- Type: System::String
The name of the build step to be added.
- message
- Type: System::String
The message of the build step to be added.
Note that build steps are no longer used after Visual Studio Application Lifecycle Management 2008 Team Foundation Server and have been replaced with various new information node types, including IBuildMessage, IBuildError, IBuildWarning, and IActivityTracking. Therefore, when you add information nodes to builds which will be primarily viewed from newer clients (for example, Team Foundation Server 2010), these new types are better than IBuildSteps.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: