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