Host Class
Definition
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.
Provides convenience methods for creating instances of IHostBuilder with preconfigured defaults.
public ref class Host abstract sealed
public static class Host
type Host = class
Public Class Host
- Inheritance
-
Host
Methods
CreateApplicationBuilder() |
Initializes a new instance of the HostApplicationBuilder class with preconfigured defaults. |
CreateApplicationBuilder(HostApplicationBuilderSettings) |
Initializes a new instance of the HostApplicationBuilder class with preconfigured defaults. |
CreateApplicationBuilder(String[]) |
Initializes a new instance of the HostApplicationBuilder class with preconfigured defaults. |
CreateDefaultBuilder() |
Initializes a new instance of the HostBuilder class with preconfigured defaults. |
CreateDefaultBuilder(String[]) |
Initializes a new instance of the HostBuilder class with preconfigured defaults. |
CreateEmptyApplicationBuilder(HostApplicationBuilderSettings) |
Initializes a new instance of the HostApplicationBuilder class with no pre-configured defaults. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om