8 references to BackgroundService
Microsoft.Extensions.Hosting (8)
BackgroundServiceExceptionBehavior.cs (5)
8
/// unhandled exception occurs in one of its <see cref="
BackgroundService
"/> instances.
16
/// If a <see cref="
BackgroundService
"/> throws an exception, the <see cref="IHost"/> instance stops, and the process continues.
21
/// Ignore exceptions thrown in <see cref="
BackgroundService
"/>.
24
/// If a <see cref="
BackgroundService
"/> throws an exception, the <see cref="IHost"/> will log the error, but otherwise ignore it.
25
/// The <see cref="
BackgroundService
"/> is not restarted.
HostOptions.cs (1)
48
/// its <see cref="
BackgroundService
"/> instances throw an unhandled exception.
Internal\Host.cs (2)
127
if (service is
BackgroundService
backgroundService)
175
private async Task TryExecuteBackgroundServiceAsync(
BackgroundService
backgroundService)