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