<PackageReference Include="Microsoft.Extensions.Hosting" Version="11.0.0-rc.3.26522.148" />

Microsoft.Extensions.Hosting.HostOptions

public class HostOptions
Options for IHost.

Gets or sets the behavior the IHost will follow when any of its BackgroundService instances throw an unhandled exception.

public bool ServicesStartConcurrently { get; set; }

Gets or sets a value that indicates if the IHost will start registered instances of IHostedService concurrently or sequentially.

public bool ServicesStopConcurrently { get; set; }

Gets or sets a value that indicates if the IHost will stop registered instances of IHostedService concurrently or sequentially.

public TimeSpan ShutdownTimeout { get; set; }

Gets or sets the default timeout for StopAsync.

public TimeSpan StartupTimeout { get; set; }

Gets or sets the default timeout for StartAsync.

public HostOptions()