WebHostBuilderHttpSysExtensions.UseHttpSys Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
UseHttpSys(IWebHostBuilder) |
Specificare Http.sys come server da usare dall'host Web. |
UseHttpSys(IWebHostBuilder, Action<HttpSysOptions>) |
Specificare Http.sys come server da usare dall'host Web. |
UseHttpSys(IWebHostBuilder)
Specificare Http.sys come server da usare dall'host 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
Parametri
- hostBuilder
- IWebHostBuilder
Microsoft.AspNetCore.Hosting.IWebHostBuilder da configurare.
Restituisce
Riferimento all'oggetto IWebHostBuilder parameter.
Si applica a
UseHttpSys(IWebHostBuilder, Action<HttpSysOptions>)
Specificare Http.sys come server da usare dall'host 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
Parametri
- hostBuilder
- IWebHostBuilder
Microsoft.AspNetCore.Hosting.IWebHostBuilder da configurare.
- options
- Action<HttpSysOptions>
Callback per configurare le opzioni di Http.sys.
Restituisce
Riferimento all'oggetto IWebHostBuilder parameter.