public Task DeleteAgentSessionAsync(Int32 poolId, Guid sessionId, CancellationToken cancellationToken)
 {
     CheckConnection();
     return(_taskAgentClient.DeleteAgentSessionAsync(poolId, sessionId, cancellationToken: cancellationToken));
 }
Esempio n. 2
0
 public Task DeleteAgentSessionAsync(Int32 poolId, Guid sessionId, CancellationToken cancellationToken)
 {
     CheckConnection(RunnerConnectionType.MessageQueue);
     return(_messageTaskAgentClient.DeleteAgentSessionAsync(poolId, sessionId, cancellationToken: cancellationToken));
 }