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
- agent
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgent
The build agent to modify.
- status
Type: Microsoft.TeamFoundation.Build.Client.AgentStatus
The status to apply to the build agent.
- message
Type: System.String
The display message about the build agent status.
.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.