WebHostBuilderKestrelExtensions.UseKestrel メソッド

定義

オーバーロード

UseKestrel(IWebHostBuilder)

Web ホストで使用するサーバーとして Kestrel を指定します。

UseKestrel(IWebHostBuilder, Action<WebHostBuilderContext,KestrelServerOptions>)

Web ホストで使用するサーバーとして Kestrel を指定します。

UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)

Web ホストで使用するサーバーとして Kestrel を指定します。

UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)

Web ホストで使用するサーバーとして Kestrel を指定します。

UseKestrel(IWebHostBuilder)

Web ホストで使用するサーバーとして Kestrel を指定します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseKestrel(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseKestrel (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
static member UseKestrel : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseKestrel (hostBuilder As IWebHostBuilder) As IWebHostBuilder

パラメーター

hostBuilder
IWebHostBuilder

構成する Microsoft.AspNetCore.Hosting.IWebHostBuilder。

戻り値

Microsoft.AspNetCore.Hosting.IWebHostBuilder。

適用対象

UseKestrel(IWebHostBuilder, Action<WebHostBuilderContext,KestrelServerOptions>)

Web ホストで使用するサーバーとして Kestrel を指定します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseKestrel(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Hosting::WebHostBuilderContext ^, Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseKestrel (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> configureOptions);
static member UseKestrel : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseKestrel (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。

適用対象

UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)

Web ホストで使用するサーバーとして Kestrel を指定します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseKestrel(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^> ^ options);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseKestrel (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> options);
static member UseKestrel : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseKestrel (hostBuilder As IWebHostBuilder, options As Action(Of KestrelServerOptions)) As IWebHostBuilder

パラメーター

hostBuilder
IWebHostBuilder

構成する Microsoft.AspNetCore.Hosting.IWebHostBuilder。

options
Action<KestrelServerOptions>

Kestrel オプションを構成するためのコールバック。

戻り値

Microsoft.AspNetCore.Hosting.IWebHostBuilder。

適用対象

UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)

Web ホストで使用するサーバーとして Kestrel を指定します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseKestrel(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Server::Kestrel::KestrelServerOptions ^> ^ options);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseKestrel (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions> options);
static member UseKestrel : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseKestrel (hostBuilder As IWebHostBuilder, options As Action(Of KestrelServerOptions)) As IWebHostBuilder

パラメーター

hostBuilder
IWebHostBuilder

構成する Microsoft.AspNetCore.Hosting.IWebHostBuilder。

options
Action<KestrelServerOptions>

Kestrel オプションを構成するためのコールバック。

戻り値

Microsoft.AspNetCore.Hosting.IWebHostBuilder。

適用対象