Delen via


WebHostBuilderHttpSysExtensions.UseHttpSys Method

Definition

Overloads

UseHttpSys(IWebHostBuilder)

Specify Http.sys as the server to be used by the web host.

UseHttpSys(IWebHostBuilder, Action<HttpSysOptions>)

Specify Http.sys as the server to be used by the web host.

UseHttpSys(IWebHostBuilder)

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

Specify Http.sys as the server to be used by the web host.

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

Parameters

hostBuilder
IWebHostBuilder

The Microsoft.AspNetCore.Hosting.IWebHostBuilder to configure.

Returns

A reference to the IWebHostBuilder parameter object.

Applies to

UseHttpSys(IWebHostBuilder, Action<HttpSysOptions>)

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

Specify Http.sys as the server to be used by the web host.

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

Parameters

hostBuilder
IWebHostBuilder

The Microsoft.AspNetCore.Hosting.IWebHostBuilder to configure.

options
Action<HttpSysOptions>

A callback to configure Http.sys options.

Returns

A reference to the IWebHostBuilder parameter object.

Applies to