WebHostBuilderIISExtensions.UseIISIntegration(IWebHostBuilder) 方法

定义

配置服务器在 AspNetCoreModule 后面运行时应侦听的端口和基路径。 应用还将配置为捕获启动错误。

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseIISIntegration (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
static member UseIISIntegration : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseIISIntegration (hostBuilder As IWebHostBuilder) As IWebHostBuilder

参数

hostBuilder
IWebHostBuilder

返回

适用于