| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402 |
- <?xml version="1.0"?>
- <doc>
- <assembly>
- <name>Microsoft.Extensions.Hosting</name>
- </assembly>
- <members>
- <member name="T:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior">
- <summary>
- Specifies a behavior that the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will honor if an
- unhandled exception occurs in one of its <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> instances.
- </summary>
- </member>
- <member name="F:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior.StopHost">
- <summary>
- Stops the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> instance.
- </summary>
- <remarks>
- If a <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> throws an exception, the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> instance stops, and the process continues.
- </remarks>
- </member>
- <member name="F:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior.Ignore">
- <summary>
- Ignore exceptions thrown in <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/>.
- </summary>
- <remarks>
- If a <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> throws an exception, the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will log the error, but otherwise ignore it.
- The <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> is not restarted.
- </remarks>
- </member>
- <member name="P:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions.SuppressStatusMessages">
- <summary>
- Indicates if host lifetime status messages should be suppressed such as on startup.
- The default is false.
- </summary>
- </member>
- <member name="T:Microsoft.Extensions.Hosting.Host">
- <summary>
- Provides convenience methods for creating instances of <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> with pre-configured defaults.
- </summary>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder">
- <summary>
- Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/> class with pre-configured defaults.
- </summary>
- <remarks>
- The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/>:
- <list type="bullet">
- <item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
- <item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
- <item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
- <item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
- <item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
- <item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
- <item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
- </list>
- </remarks>
- <returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder(System.String[])">
- <summary>
- Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/> class with pre-configured defaults.
- </summary>
- <remarks>
- The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/>:
- <list type="bullet">
- <item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
- <item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
- <item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
- <item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
- <item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
- <item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
- <item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
- <item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
- <item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
- </list>
- </remarks>
- <param name="args">The command line args.</param>
- <returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
- </member>
- <member name="T:Microsoft.Extensions.Hosting.HostBuilder">
- <summary>
- A program initialization utility.
- </summary>
- </member>
- <member name="P:Microsoft.Extensions.Hosting.HostBuilder.Properties">
- <summary>
- A central location for sharing state between components during the host building process.
- </summary>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureHostConfiguration(System.Action{Microsoft.Extensions.Configuration.IConfigurationBuilder})">
- <summary>
- Set up the configuration for the builder itself. This will be used to initialize the <see cref="T:Microsoft.Extensions.Hosting.IHostEnvironment"/>
- for use later in the build process. This can be called multiple times and the results will be additive.
- </summary>
- <param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
- to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureAppConfiguration(System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Configuration.IConfigurationBuilder})">
- <summary>
- Sets up the configuration for the remainder of the build process and application. This can be called multiple times and
- the results will be additive. The results will be available at <see cref="P:Microsoft.Extensions.Hosting.HostBuilderContext.Configuration"/> for
- subsequent operations, as well as in <see cref="P:Microsoft.Extensions.Hosting.IHost.Services"/>.
- </summary>
- <param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
- to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureServices(System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.DependencyInjection.IServiceCollection})">
- <summary>
- Adds services to the container. This can be called multiple times and the results will be additive.
- </summary>
- <param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
- to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostBuilder.UseServiceProviderFactory``1(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0})">
- <summary>
- Overrides the factory used to create the service provider.
- </summary>
- <typeparam name="TContainerBuilder">The type of the builder to create.</typeparam>
- <param name="factory">A factory used for creating service providers.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostBuilder.UseServiceProviderFactory``1(System.Func{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0}})">
- <summary>
- Overrides the factory used to create the service provider.
- </summary>
- <param name="factory">A factory used for creating service providers.</param>
- <typeparam name="TContainerBuilder">The type of the builder to create.</typeparam>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureContainer``1(System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,``0})">
- <summary>
- Enables configuring the instantiated dependency container. This can be called multiple times and
- the results will be additive.
- </summary>
- <typeparam name="TContainerBuilder">The type of the builder to create.</typeparam>
- <param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
- to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostBuilder.Build">
- <summary>
- Run the given actions to initialize the host. This can only be called once.
- </summary>
- <returns>An initialized <see cref="T:Microsoft.Extensions.Hosting.IHost"/></returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseEnvironment(Microsoft.Extensions.Hosting.IHostBuilder,System.String)">
- <summary>
- Specify the environment to be used by the host. To avoid the environment being overwritten by a default
- value, ensure this is called after defaults are configured.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
- <param name="environment">The environment to host the application in.</param>
- <returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseContentRoot(Microsoft.Extensions.Hosting.IHostBuilder,System.String)">
- <summary>
- Specify the content root directory to be used by the host. To avoid the content root directory being
- overwritten by a default value, ensure this is called after defaults are configured.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
- <param name="contentRoot">Path to root directory of the application.</param>
- <returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseDefaultServiceProvider(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.DependencyInjection.ServiceProviderOptions})">
- <summary>
- Specify the <see cref="T:System.IServiceProvider"/> to be the default one.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
- <param name="configure"></param>
- <returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseDefaultServiceProvider(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.DependencyInjection.ServiceProviderOptions})">
- <summary>
- Specify the <see cref="T:System.IServiceProvider"/> to be the default one.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
- <param name="configure">The delegate that configures the <see cref="T:System.IServiceProvider"/>.</param>
- <returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureLogging(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Logging.ILoggingBuilder})">
- <summary>
- Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>. This may be called multiple times.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
- <param name="configureLogging">The delegate that configures the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureLogging(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Logging.ILoggingBuilder})">
- <summary>
- Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>. This may be called multiple times.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
- <param name="configureLogging">The delegate that configures the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureHostOptions(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Hosting.HostOptions})">
- <summary>
- Adds a delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/> of the <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
- <param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/>.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureHostOptions(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostOptions})">
- <summary>
- Adds a delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/> of the <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
- <param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/>.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureAppConfiguration(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Configuration.IConfigurationBuilder})">
- <summary>
- Sets up the configuration for the remainder of the build process and application. This can be called multiple times and
- the results will be additive. The results will be available at <see cref="P:Microsoft.Extensions.Hosting.HostBuilderContext.Configuration"/> for
- subsequent operations, as well as in <see cref="P:Microsoft.Extensions.Hosting.IHost.Services"/>.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
- <param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
- to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureServices(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.DependencyInjection.IServiceCollection})">
- <summary>
- Adds services to the container. This can be called multiple times and the results will be additive.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
- <param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureContainer``1(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{``0})">
- <summary>
- Enables configuring the instantiated dependency container. This can be called multiple times and
- the results will be additive.
- </summary>
- <typeparam name="TContainerBuilder"></typeparam>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
- <param name="configureDelegate">The delegate for configuring the <typeparamref name="TContainerBuilder"/>.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureDefaults(Microsoft.Extensions.Hosting.IHostBuilder,System.String[])">
- <summary>
- Configures an existing <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> instance with pre-configured defaults. This will overwrite
- previously configured values and is intended to be called before additional configuration calls.
- </summary>
- <remarks>
- The following defaults are applied to the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>:
- * set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/>
- * load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables
- * load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args
- * load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'
- * load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly
- * load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables
- * load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args
- * configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output
- * enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'
- </remarks>
- <param name="builder">The existing builder to configure.</param>
- <param name="args">The command line args.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseConsoleLifetime(Microsoft.Extensions.Hosting.IHostBuilder)">
- <summary>
- Listens for Ctrl+C or SIGTERM and calls <see cref="M:Microsoft.Extensions.Hosting.IHostApplicationLifetime.StopApplication"/> to start the shutdown process.
- This will unblock extensions like RunAsync and WaitForShutdownAsync.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseConsoleLifetime(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions})">
- <summary>
- Listens for Ctrl+C or SIGTERM and calls <see cref="M:Microsoft.Extensions.Hosting.IHostApplicationLifetime.StopApplication"/> to start the shutdown process.
- This will unblock extensions like RunAsync and WaitForShutdownAsync.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
- <param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/>.</param>
- <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.RunConsoleAsync(Microsoft.Extensions.Hosting.IHostBuilder,System.Threading.CancellationToken)">
- <summary>
- Enables console support, builds and starts the host, and waits for Ctrl+C or SIGTERM to shut down.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
- <param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the console.</param>
- <returns>A <see cref="T:System.Threading.Tasks.Task"/> that only completes when the token is triggered or shutdown is triggered.</returns>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.RunConsoleAsync(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions},System.Threading.CancellationToken)">
- <summary>
- Enables console support, builds and starts the host, and waits for Ctrl+C or SIGTERM to shut down.
- </summary>
- <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
- <param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/>.</param>
- <param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the console.</param>
- <returns>A <see cref="T:System.Threading.Tasks.Task"/> that only completes when the token is triggered or shutdown is triggered.</returns>
- </member>
- <member name="T:Microsoft.Extensions.Hosting.HostOptions">
- <summary>
- Options for <see cref="T:Microsoft.Extensions.Hosting.IHost"/>
- </summary>
- </member>
- <member name="P:Microsoft.Extensions.Hosting.HostOptions.ShutdownTimeout">
- <summary>
- The default timeout for <see cref="M:Microsoft.Extensions.Hosting.IHost.StopAsync(System.Threading.CancellationToken)"/>.
- </summary>
- </member>
- <member name="P:Microsoft.Extensions.Hosting.HostOptions.BackgroundServiceExceptionBehavior">
- <summary>
- The behavior the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will follow when any of
- its <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> instances throw an unhandled exception.
- </summary>
- <remarks>
- Defaults to <see cref="F:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior.StopHost"/>.
- </remarks>
- </member>
- <member name="T:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime">
- <summary>
- Allows consumers to perform cleanup during a graceful shutdown.
- </summary>
- </member>
- <member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStarted">
- <summary>
- Triggered when the application host has fully started and is about to wait
- for a graceful shutdown.
- </summary>
- </member>
- <member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStopping">
- <summary>
- Triggered when the application host is performing a graceful shutdown.
- Request may still be in flight. Shutdown will block until this event completes.
- </summary>
- </member>
- <member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStopped">
- <summary>
- Triggered when the application host is performing a graceful shutdown.
- All requests should be complete at this point. Shutdown will block
- until this event completes.
- </summary>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.StopApplication">
- <summary>
- Signals the ApplicationStopping event and blocks until it completes.
- </summary>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.NotifyStarted">
- <summary>
- Signals the ApplicationStarted event and blocks until it completes.
- </summary>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.NotifyStopped">
- <summary>
- Signals the ApplicationStopped event and blocks until it completes.
- </summary>
- </member>
- <member name="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime">
- <summary>
- Listens for Ctrl+C or SIGTERM and initiates shutdown.
- </summary>
- </member>
- <member name="T:Microsoft.Extensions.Hosting.Internal.HostingEnvironment">
- <summary>
- This API supports infrastructure and is not intended to be used
- directly from your code. This API may change or be removed in future releases.
- </summary>
- </member>
- <member name="T:Microsoft.Extensions.Hosting.Internal.NullLifetime">
- <summary>
- Minimalistic lifetime that does nothing.
- </summary>
- </member>
- <member name="T:Microsoft.Extensions.DependencyInjection.OptionsBuilderExtensions">
- <summary>
- Extension methods for adding configuration related options services to the DI container via <see cref="T:Microsoft.Extensions.Options.OptionsBuilder`1"/>.
- </summary>
- </member>
- <member name="M:Microsoft.Extensions.DependencyInjection.OptionsBuilderExtensions.ValidateOnStart``1(Microsoft.Extensions.Options.OptionsBuilder{``0})">
- <summary>
- Enforces options validation check on start rather than in runtime.
- </summary>
- <typeparam name="TOptions">The type of options.</typeparam>
- <param name="optionsBuilder">The <see cref="T:Microsoft.Extensions.Options.OptionsBuilder`1"/> to configure options instance.</param>
- <returns>The <see cref="T:Microsoft.Extensions.Options.OptionsBuilder`1"/> so that additional calls can be chained.</returns>
- </member>
- <member name="P:System.SR.BackgroundServiceExceptionStoppedHost">
- <summary>The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will no ...</summary>
- </member>
- <member name="P:System.SR.BuildCalled">
- <summary>Build can only be called once.</summary>
- </member>
- <member name="P:System.SR.CreateBuilderCallBeforeCreateServiceProvider">
- <summary>CreateBuilder must be called before CreateServiceProvider</summary>
- </member>
- <member name="P:System.SR.NullIServiceProvider">
- <summary>The IServiceProviderFactory returned a null IServiceProvider</summary>
- </member>
- <member name="P:System.SR.ResolverReturnedNull">
- <summary>The resolver returned a null IServiceProviderFactory</summary>
- </member>
- </members>
- </doc>
|