Поделиться через


IBuildMachine.Stop Method

Stops the build server using the specified reason when stopping active builds.

Namespace:  Microsoft.TeamFoundation.Build.Hosting
Assembly:  Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)

Syntax

'Declaration
<OperationContractAttribute> _
Sub Stop ( _
    timeout As TimeSpan, _
    reason As String _
)
[OperationContractAttribute]
void Stop(
    TimeSpan timeout,
    string reason
)
[OperationContractAttribute]
void Stop(
    TimeSpan timeout, 
    String^ reason
)
[<OperationContractAttribute>]
abstract Stop : 
        timeout:TimeSpan * 
        reason:string -> unit
function Stop(
    timeout : TimeSpan, 
    reason : String
)

Parameters

  • timeout
    Type: System.TimeSpan

    The maximum time allowed for the operation to complete.

  • reason
    Type: System.String

    The reason the server is being stopped.

.NET Framework Security

See Also

Reference

IBuildMachine Interface

Microsoft.TeamFoundation.Build.Hosting Namespace