Delen via


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

  • message
    Type: System.String

    The message of the child build step.

  • time
    Type: System.DateTime

    The start or finish time of the child build step.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildStep
The added build step.

.NET Framework Security

See Also

Reference

IBuildStep Interface

Add Overload

Microsoft.TeamFoundation.Build.Client Namespace