Method StopAsync StopAsync(CancellationToken) Declaration public Task StopAsync(CancellationToken cancellationToken) Parameters Type Name Description CancellationToken cancellationToken Returns Type Description Task Implements IHostedService.StopAsync(CancellationToken)