%PDF- %PDF-
Direktori : /lib/dotnet/packs/Microsoft.AspNetCore.App.Ref/8.0.17/ref/net8.0/ |
Current File : //lib/dotnet/packs/Microsoft.AspNetCore.App.Ref/8.0.17/ref/net8.0/Microsoft.Extensions.Hosting.xml |
<?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="T:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions"> <summary> Provides option flags for <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/>. </summary> </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="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder"> <summary> Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with pre-configured defaults. </summary> <remarks> The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>: <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.HostApplicationBuilder"/>.</returns> </member> <member name="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder(System.String[])"> <summary> Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with pre-configured defaults. </summary> <remarks> The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>: <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.HostApplicationBuilder"/>.</returns> </member> <member name="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)"> <inheritdoc cref="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder" /> <param name="settings">Controls the initial configuration and other settings for constructing the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</param> </member> <member name="M:Microsoft.Extensions.Hosting.Host.CreateEmptyApplicationBuilder(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)"> <summary> Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with no pre-configured defaults. </summary> <param name="settings">Controls the initial configuration and other settings for constructing the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</param> <returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</returns> </member> <member name="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"> <summary> Represents a hosted applications and services builder which helps manage configuration, logging, lifetime, and more. </summary> </member> <member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.#ctor"> <summary> Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with preconfigured defaults. </summary> <remarks> The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>: <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> </member> <member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.#ctor(System.String[])"> <summary> Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with preconfigured defaults. </summary> <remarks> The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>: <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> </member> <member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.#ctor(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)"> <summary> Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>. </summary> <param name="settings">Settings controlling initial configuration and whether default settings should be used.</param> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Environment"> <inheritdoc /> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration"> <summary> Gets the set of key/value configuration properties. </summary> <remarks> This can be mutated by adding more configuration sources, which will update its current view. </remarks> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Services"> <inheritdoc /> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Logging"> <inheritdoc /> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Metrics"> <inheritdoc /> </member> <member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.ConfigureContainer``1(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0},System.Action{``0})"> <inheritdoc /> </member> <member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.Build"> <summary> Build the host. This can only be called once. </summary> <returns>An initialized <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.</returns> </member> <member name="T:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings"> <summary> Settings for constructing an <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>. </summary> </member> <member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.#ctor"> <summary> Initializes an instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings"/> class. </summary> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.DisableDefaults"> <summary> If <see langword="false"/>, configures the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> instance with pre-configured defaults. This has a similar effect to calling <see cref="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureDefaults(Microsoft.Extensions.Hosting.IHostBuilder,System.String[])"/>. </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 <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables * load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json' * load <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 <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables * load <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> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.Args"> <summary> The command line arguments to add to the <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration"/>. </summary> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.Configuration"> <summary> Initial configuration sources to be added to the <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration"/>. These sources can influence the <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Environment"/> through the use of <see cref="T:Microsoft.Extensions.Hosting.HostDefaults"/> keys. Disposing the built <see cref="T:Microsoft.Extensions.Hosting.IHost"/> disposes the <see cref="T:Microsoft.Extensions.Configuration.ConfigurationManager"/>. </summary> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.EnvironmentName"> <summary> The environment name. </summary> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.ApplicationName"> <summary> The application name. </summary> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.ContentRootPath"> <summary> The content root path. </summary> </member> <member name="T:Microsoft.Extensions.Hosting.HostBuilder"> <summary> A program initialization utility. </summary> </member> <member name="M:Microsoft.Extensions.Hosting.HostBuilder.#ctor"> <summary> Initializes a new instance of <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/>. </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> <remarks>Adds basic services to the host such as application lifetime, host environment, and logging.</remarks> </member> <member name="T:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions"> <summary> Provides extension methods for the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> from the hosting package. </summary> </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">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.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">The type of builder.</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="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureMetrics(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder})"> <summary> Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>. This may be called multiple times. </summary> <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param> <param name="configureMetrics">The delegate that configures the <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>.</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.ConfigureMetrics(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder})"> <summary> Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>. This may be called multiple times. </summary> <param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param> <param name="configureMetrics">The delegate that configures the <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>.</param> <returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</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> <remarks> This timeout also encompasses all host services implementing <see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StoppingAsync(System.Threading.CancellationToken)"/> and <see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StoppedAsync(System.Threading.CancellationToken)"/>. </remarks> </member> <member name="P:Microsoft.Extensions.Hosting.HostOptions.StartupTimeout"> <summary> The default timeout for <see cref="M:Microsoft.Extensions.Hosting.IHost.StartAsync(System.Threading.CancellationToken)"/>. </summary> <remarks> This timeout also encompasses all host services implementing <see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StartingAsync(System.Threading.CancellationToken)"/> and <see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StartedAsync(System.Threading.CancellationToken)"/>. </remarks> </member> <member name="P:Microsoft.Extensions.Hosting.HostOptions.ServicesStartConcurrently"> <summary> Determines if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will start registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently or sequentially. Defaults to false. </summary> </member> <member name="P:Microsoft.Extensions.Hosting.HostOptions.ServicesStopConcurrently"> <summary> Determines if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will stop registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently or sequentially. Defaults to false. </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="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.#ctor(Microsoft.Extensions.Logging.ILogger{Microsoft.Extensions.Hosting.Internal.ApplicationLifetime})"> <summary> Initializes an <see cref="T:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime"/> instance using the specified logger. </summary> <param name="logger">The logger to initialize this instance with.</param> </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="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.#ctor(Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions},Microsoft.Extensions.Hosting.IHostEnvironment,Microsoft.Extensions.Hosting.IHostApplicationLifetime,Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.HostOptions})"> <summary> Initializes a <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/> instance using the specified console lifetime options, host environment, host application lifetime and host options. </summary> <param name="options">An object used to retrieve <see cref="T:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions"/> instances.</param> <param name="environment">An object that contains information about the hosting environment an application is running in.</param> <param name="applicationLifetime">An object that allows consumers to be notified of application lifetime events.</param> <param name="hostOptions">An object used to retrieve <see cref="P:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.HostOptions"/> instances.</param> <exception cref="T:System.ArgumentNullException"><paramref name="options"/> or <paramref name="environment"/> or <paramref name="applicationLifetime"/> or <paramref name="hostOptions"/> is <see langword="null"/>.</exception> </member> <member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.#ctor(Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions},Microsoft.Extensions.Hosting.IHostEnvironment,Microsoft.Extensions.Hosting.IHostApplicationLifetime,Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.HostOptions},Microsoft.Extensions.Logging.ILoggerFactory)"> <summary> Initializes a <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/> instance using the specified console lifetime options, host environment, host options and logger factory. </summary> <param name="options">An object used to retrieve <see cref="T:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions"/> instances</param> <param name="environment">An object that contains information about the hosting environment an application is running in.</param> <param name="applicationLifetime">An object that allows consumers to be notified of application lifetime events.</param> <param name="hostOptions">An object used to retrieve <see cref="P:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.HostOptions"/> instances.</param> <param name="loggerFactory">An object to configure the logging system and create instances of <see cref="T:Microsoft.Extensions.Logging.ILogger"/> from the registered <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.</param> <exception cref="T:System.ArgumentNullException"><paramref name="options"/> or <paramref name="environment"/> or <paramref name="applicationLifetime"/> or <paramref name="hostOptions"/> or <paramref name="loggerFactory"/> is <see langword="null"/>.</exception> </member> <member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.WaitForStartAsync(System.Threading.CancellationToken)"> <summary> Registers the application start, application stop and shutdown handlers for this application. </summary> <param name="cancellationToken">The cancellation token to monitor for cancellation requests.</param> <returns>A <see cref="T:System.Threading.Tasks.Task"/> that represents the asynchronous registration operation.</returns> </member> <member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.StopAsync(System.Threading.CancellationToken)"> <summary> This method does nothing. </summary> <param name="cancellationToken">A cancellation token instance.</param> <returns>A <see cref="T:System.Threading.Tasks.Task"/> that represents a completed task.</returns> </member> <member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.Dispose"> <summary> Unregisters the shutdown handlers and disposes the application start and application stop registrations. </summary> </member> <member name="M:Microsoft.Extensions.Hosting.Internal.Host.StartAsync(System.Threading.CancellationToken)"> <summary> Order: IHostLifetime.WaitForStartAsync Services.GetService{IStartupValidator}().Validate() IHostedLifecycleService.StartingAsync IHostedService.Start IHostedLifecycleService.StartedAsync IHostApplicationLifetime.ApplicationStarted </summary> </member> <member name="M:Microsoft.Extensions.Hosting.Internal.Host.StopAsync(System.Threading.CancellationToken)"> <summary> Order: IHostedLifecycleService.StoppingAsync IHostApplicationLifetime.ApplicationStopping IHostedService.Stop IHostedLifecycleService.StoppedAsync IHostApplicationLifetime.ApplicationStopped IHostLifetime.StopAsync </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="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.EnvironmentName"> <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="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.ApplicationName"> <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="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.ContentRootPath"> <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="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.ContentRootFileProvider"> <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="M:System.ThrowHelper.ThrowIfNull(System.Object,System.String)"> <summary>Throws an <see cref="T:System.ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> <param name="argument">The reference type argument to validate as non-null.</param> <param name="paramName">The name of the parameter with which <paramref name="argument"/> corresponds.</param> </member> <member name="M:System.ThrowHelper.IfNullOrWhitespace(System.String,System.String)"> <summary> Throws either an <see cref="T:System.ArgumentNullException"/> or an <see cref="T:System.ArgumentException"/> if the specified string is <see langword="null"/> or whitespace respectively. </summary> <param name="argument">String to be checked for <see langword="null"/> or whitespace.</param> <param name="paramName">The name of the parameter being checked.</param> <returns>The original value of <paramref name="argument"/>.</returns> </member> <member name="P:System.SR.ApplicationNameChangeNotSupported"> <summary>The application name changed from "{0}" to "{1}". Changing host configuration is not supported.</summary> </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.ContentRootChangeNotSupported"> <summary>The content root changed from "{0}" to "{1}". Changing host configuration is not supported.</summary> </member> <member name="P:System.SR.CreateBuilderCallBeforeCreateServiceProvider"> <summary>CreateBuilder must be called before CreateServiceProvider</summary> </member> <member name="P:System.SR.EnvironmentNameChangeNotSupoprted"> <summary>The environment name changed from "{0}" to "{1}". Changing host configuration is not supported.</summary> </member> <member name="P:System.SR.IHostApplicationLifetimeReplacementNotSupported"> <summary>Replacing IHostApplicationLifetime is not supported.</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>