WebHostBuilderHttpSysExtensions.UseHttpSys Méthode

Définition

Surcharges

UseHttpSys(IWebHostBuilder)

Spécifiez Http.sys comme serveur à utiliser par l’hôte web.

UseHttpSys(IWebHostBuilder, Action<HttpSysOptions>)

Spécifiez Http.sys comme serveur à utiliser par l’hôte web.

UseHttpSys(IWebHostBuilder)

Source:
WebHostBuilderHttpSysExtensions.cs
Source:
WebHostBuilderHttpSysExtensions.cs
Source:
WebHostBuilderHttpSysExtensions.cs

Spécifiez Http.sys comme serveur à utiliser par l’hôte web.

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

Paramètres

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder à configurer.

Retours

Référence à l’objet IWebHostBuilder de paramètre.

S’applique à

UseHttpSys(IWebHostBuilder, Action<HttpSysOptions>)

Source:
WebHostBuilderHttpSysExtensions.cs
Source:
WebHostBuilderHttpSysExtensions.cs
Source:
WebHostBuilderHttpSysExtensions.cs

Spécifiez Http.sys comme serveur à utiliser par l’hôte web.

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

Paramètres

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder à configurer.

options
Action<HttpSysOptions>

Rappel pour configurer Http.sys options.

Retours

Référence à l’objet IWebHostBuilder de paramètre.

S’applique à