WebHostBuilderKestrelExtensions.ConfigureKestrel 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
ConfigureKestrel(IWebHostBuilder, Action<WebHostBuilderContext,KestrelServerOptions>) |
Kestrel 옵션을 구성하지만 IServer는 등록하지 않습니다. UseKestrel(IWebHostBuilder)을 참조하세요. |
ConfigureKestrel(IWebHostBuilder, Action<KestrelServerOptions>) |
Kestrel 옵션을 구성하지만 IServer는 등록하지 않습니다. UseKestrel(IWebHostBuilder)을 참조하세요. |
ConfigureKestrel(IWebHostBuilder, Action<WebHostBuilderContext,KestrelServerOptions>)
Kestrel 옵션을 구성하지만 IServer는 등록하지 않습니다. UseKestrel(IWebHostBuilder)을 참조하세요.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ ConfigureKestrel(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Hosting::WebHostBuilderContext ^, Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureKestrel (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> configureOptions);
static member ConfigureKestrel : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function ConfigureKestrel (hostBuilder As IWebHostBuilder, configureOptions As Action(Of WebHostBuilderContext, KestrelServerOptions)) As IWebHostBuilder
매개 변수
- hostBuilder
- IWebHostBuilder
구성할 Microsoft.AspNetCore.Hosting.IWebHostBuilder입니다.
- configureOptions
- Action<WebHostBuilderContext,KestrelServerOptions>
Kestrel 옵션을 구성하는 콜백입니다.
반환
The Microsoft.AspNetCore.Hosting.IWebHostBuilder.
적용 대상
ConfigureKestrel(IWebHostBuilder, Action<KestrelServerOptions>)
Kestrel 옵션을 구성하지만 IServer는 등록하지 않습니다. UseKestrel(IWebHostBuilder)을 참조하세요.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ ConfigureKestrel(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^> ^ options);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureKestrel (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> options);
static member ConfigureKestrel : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function ConfigureKestrel (hostBuilder As IWebHostBuilder, options As Action(Of KestrelServerOptions)) As IWebHostBuilder
매개 변수
- hostBuilder
- IWebHostBuilder
구성할 Microsoft.AspNetCore.Hosting.IWebHostBuilder입니다.
- options
- Action<KestrelServerOptions>
Kestrel 옵션을 구성하는 콜백입니다.
반환
The Microsoft.AspNetCore.Hosting.IWebHostBuilder.