コード例 #1
0
 public Task <TaskAgent> AddAgentAsync(Int32 agentPoolId, TaskAgent agent)
 {
     CheckConnection();
     return(_taskAgentClient.AddAgentAsync(agentPoolId, agent));
 }
コード例 #2
0
ファイル: RunnerServer.cs プロジェクト: Tryweirder/gha-runner
 public Task <TaskAgent> AddAgentAsync(Int32 agentPoolId, TaskAgent agent)
 {
     CheckConnection(RunnerConnectionType.Generic);
     return(_genericTaskAgentClient.AddAgentAsync(agentPoolId, agent));
 }