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

傳回

IWebHostBuilder

適用於