IBuildStep.Add Method (String, String, DateTime, BuildStepStatus)
Adds a child build step to this build step.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Function Add ( _
name As String, _
message As String, _
time As DateTime, _
status As BuildStepStatus _
) As IBuildStep
IBuildStep Add(
string name,
string message,
DateTime time,
BuildStepStatus status
)
IBuildStep^ Add(
String^ name,
String^ message,
DateTime time,
BuildStepStatus status
)
abstract Add :
name:string *
message:string *
time:DateTime *
status:BuildStepStatus -> IBuildStep
function Add(
name : String,
message : String,
time : DateTime,
status : BuildStepStatus
) : IBuildStep
Parameters
name
Type: System.StringThe name of the child build step.
message
Type: System.StringThe message of the child build step.
time
Type: System.DateTimeThe start or finish time of the child build step.
status
Type: Microsoft.TeamFoundation.Build.Client.BuildStepStatusThe status of the child build step.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildStep
The added build step.
.NET Framework Security
- 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.