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
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ