WebHostBuilderHttpSysExtensions.UseHttpSys Methode

Definition

Überlädt

UseHttpSys(IWebHostBuilder)

Geben Sie Http.sys als Server an, der vom Webhost verwendet werden soll.

UseHttpSys(IWebHostBuilder, Action<HttpSysOptions>)

Geben Sie Http.sys als Server an, der vom Webhost verwendet werden soll.

UseHttpSys(IWebHostBuilder)

Geben Sie Http.sys als Server an, der vom Webhost verwendet werden soll.

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

Parameter

hostBuilder
IWebHostBuilder

Der zu konfigurierende Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Gibt zurück

Ein Verweis auf das IWebHostBuilder Parameterobjekt.

Gilt für:

UseHttpSys(IWebHostBuilder, Action<HttpSysOptions>)

Geben Sie Http.sys als Server an, der vom Webhost verwendet werden soll.

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

Parameter

hostBuilder
IWebHostBuilder

Der zu konfigurierende Microsoft.AspNetCore.Hosting.IWebHostBuilder.

options
Action<HttpSysOptions>

Ein Rückruf zum Konfigurieren Http.sys Optionen.

Gibt zurück

Ein Verweis auf das IWebHostBuilder Parameterobjekt.

Gilt für: