Compartilhar via


WebHostBuilderHttpSysExtensions.UseHttpSys Método

Definição

Sobrecargas

UseHttpSys(IWebHostBuilder)

Especifique Http.sys como o servidor a ser usado pelo host da Web.

UseHttpSys(IWebHostBuilder, Action<HttpSysOptions>)

Especifique Http.sys como o servidor a ser usado pelo host da Web.

UseHttpSys(IWebHostBuilder)

Origem:
WebHostBuilderHttpSysExtensions.cs
Origem:
WebHostBuilderHttpSysExtensions.cs
Origem:
WebHostBuilderHttpSysExtensions.cs

Especifique Http.sys como o servidor a ser usado pelo host da 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

Parâmetros

hostBuilder
IWebHostBuilder

O Microsoft.AspNetCore.Hosting.IWebHostBuilder a ser configurado.

Retornos

Uma referência ao objeto de IWebHostBuilder parâmetro.

Aplica-se a

UseHttpSys(IWebHostBuilder, Action<HttpSysOptions>)

Origem:
WebHostBuilderHttpSysExtensions.cs
Origem:
WebHostBuilderHttpSysExtensions.cs
Origem:
WebHostBuilderHttpSysExtensions.cs

Especifique Http.sys como o servidor a ser usado pelo host da 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

Parâmetros

hostBuilder
IWebHostBuilder

O Microsoft.AspNetCore.Hosting.IWebHostBuilder a ser configurado.

options
Action<HttpSysOptions>

Um retorno de chamada para configurar Http.sys opções.

Retornos

Uma referência ao objeto de IWebHostBuilder parâmetro.

Aplica-se a