Partilhar via


IBuildServiceHost.SetBuildAgentStatus Method

Sets the build agent status.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Sub SetBuildAgentStatus ( _
    agent As IBuildAgent, _
    status As AgentStatus, _
    message As String _
)
void SetBuildAgentStatus(
    IBuildAgent agent,
    AgentStatus status,
    string message
)
void SetBuildAgentStatus(
    IBuildAgent^ agent, 
    AgentStatus status, 
    String^ message
)
abstract SetBuildAgentStatus : 
        agent:IBuildAgent * 
        status:AgentStatus * 
        message:string -> unit
function SetBuildAgentStatus(
    agent : IBuildAgent, 
    status : AgentStatus, 
    message : String
)

Parameters

  • message
    Type: System.String

    The display message about the build agent status.

.NET Framework Security

See Also

Reference

IBuildServiceHost Interface

Microsoft.TeamFoundation.Build.Client Namespace