WebHostBuilderKestrelExtensions.ConfigureKestrel メソッド

定義

オーバーロード

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 オプションを構成するためのコールバック。

戻り値

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 オプションを構成するためのコールバック。

戻り値

Microsoft.AspNetCore.Hosting.IWebHostBuilder。

適用対象