public Task DeleteAgentMessageAsync(Int32 poolId, Int64 messageId, Guid sessionId, CancellationToken cancellationToken) { CheckConnection(); return(_taskAgentClient.DeleteMessageAsync(poolId, messageId, sessionId, cancellationToken: cancellationToken)); }