%PDF- %PDF-
Direktori : /lib/dotnet/packs/Microsoft.AspNetCore.App.Ref/7.0.19/ref/net7.0/ |
Current File : //lib/dotnet/packs/Microsoft.AspNetCore.App.Ref/7.0.19/ref/net7.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="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 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.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> </member> <member name="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"> <summary> A builder for hosted applications and services 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"> <summary> Provides information about the hosting environment an application is running in. </summary> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration"> <summary> A collection of services for the application to compose. This is useful for adding user provided or framework provided services. </summary> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Services"> <summary> A collection of services for the application to compose. This is useful for adding user provided or framework provided services. </summary> </member> <member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Logging"> <summary> A collection of logging providers for the application to compose. This is useful for adding new logging providers. </summary> </member> <member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.ConfigureContainer``1(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0},System.Action{``0})"> <summary> Registers a <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1" /> instance to be used to create the <see cref="T:System.IServiceProvider" />. </summary> <param name="factory">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1" />.</param> <param name="configure"> A delegate used to configure the <typeparamref T="TContainerBuilder" />. This can be used to configure services using APIS specific to the <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1" /> implementation. </param> <typeparam name="TContainerBuilder">The type of builder provided by the <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1" />.</typeparam> <remarks> <para> <see cref="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.ConfigureContainer``1(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0},System.Action{``0})"/> is called by <see cref="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.Build"/> and so the delegate provided by <paramref name="configure"/> will run after all other services have been registered. </para> <para> Multiple calls to <see cref="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.ConfigureContainer``1(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0},System.Action{``0})"/> will replace the previously stored <paramref name="factory"/> and <paramref name="configure"/> delegate. </para> </remarks> </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. This is unused if <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.DisableDefaults"/> is <see langword="true"/>. </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="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="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="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="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>