This documentation is archived and is not being maintained.
IBuildServiceHost::SetBuildAgentStatus Method
Visual Studio 2013
Sets the build agent status.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
void SetBuildAgentStatus(
IBuildAgent^ agent,
AgentStatus status,
String^ message
)
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.
- 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.
Show: