共用方式為


WebApplication.CreateEmptyBuilder(WebApplicationOptions) 方法

定義

初始化 類別的新實例, WebApplicationBuilder 而不使用預設值。

public static Microsoft.AspNetCore.Builder.WebApplicationBuilder CreateEmptyBuilder (Microsoft.AspNetCore.Builder.WebApplicationOptions options);
static member CreateEmptyBuilder : Microsoft.AspNetCore.Builder.WebApplicationOptions -> Microsoft.AspNetCore.Builder.WebApplicationBuilder
Public Shared Function CreateEmptyBuilder (options As WebApplicationOptions) As WebApplicationBuilder

參數

傳回

WebApplicationBuilder

適用於