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
声明
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.String
 The name of the child build step.
- 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.
- status
 Type: Microsoft.TeamFoundation.Build.Client.BuildStepStatus
 The 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.