Share via


WebHostBuilderHttpSysExtensions.UseHttpSys Metode

Definisi

Overload

UseHttpSys(IWebHostBuilder)

Tentukan Http.sys sebagai server yang akan digunakan oleh host web.

UseHttpSys(IWebHostBuilder, Action<HttpSysOptions>)

Tentukan Http.sys sebagai server yang akan digunakan oleh host web.

UseHttpSys(IWebHostBuilder)

Sumber:
WebHostBuilderHttpSysExtensions.cs
Sumber:
WebHostBuilderHttpSysExtensions.cs

Tentukan Http.sys sebagai server yang akan digunakan oleh 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

Parameter

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder untuk dikonfigurasi.

Mengembalikan

Referensi ke IWebHostBuilder objek parameter.

Berlaku untuk

UseHttpSys(IWebHostBuilder, Action<HttpSysOptions>)

Sumber:
WebHostBuilderHttpSysExtensions.cs
Sumber:
WebHostBuilderHttpSysExtensions.cs

Tentukan Http.sys sebagai server yang akan digunakan oleh 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

Parameter

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder untuk dikonfigurasi.

options
Action<HttpSysOptions>

Panggilan balik untuk mengonfigurasi opsi Http.sys.

Mengembalikan

Referensi ke IWebHostBuilder objek parameter.

Berlaku untuk