HostApplicationBuilderSettings Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Settings for constructing an HostApplicationBuilder.
public ref class HostApplicationBuilderSettings sealed
public sealed class HostApplicationBuilderSettings
type HostApplicationBuilderSettings = class
Public NotInheritable Class HostApplicationBuilderSettings
- Inheritance
-
HostApplicationBuilderSettings
Host |
Initializes an instance of the HostApplicationBuilderSettings class. |
Application |
Gets or sets the application name. |
Args |
Gets or sets the command-line arguments to add to the Configuration. |
Configuration |
Gets or sets the initial configuration sources to be added to the Configuration. These sources can influence the Environment through the use of HostDefaults keys. Disposing the built IHost disposes the ConfigurationManager. |
Content |
Gets or sets the content root path. |
Disable |
Gets or sets a value that indicates whether the HostApplicationBuilder instance is configured with pre-configured defaults. |
Environment |
Gets or sets the environment name. |
Produk | Versi |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided), 2.1 (package-provided) |
.NET maklum balas
.NET ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas: