public Task <TaskAgent> AddAgentAsync(Int32 agentPoolId, TaskAgent agent)
 {
     CheckConnection();
     return(_taskAgentClient.AddAgentAsync(agentPoolId, agent));
 }
Example #2
0
 public Task <TaskAgent> AddAgentAsync(Int32 agentPoolId, TaskAgent agent)
 {
     CheckConnection(RunnerConnectionType.Generic);
     return(_genericTaskAgentClient.AddAgentAsync(agentPoolId, agent));
 }