WebHostBuilderHttpSysExtensions.UseHttpSys Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ü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:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für