WebAssemblyHostBuilder.CreateDefault(String[]) 方法

定義

使用最常見的慣例和設定,建立 的 WebAssemblyHostBuilder 實例。

public static Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder CreateDefault (string[] args = default);
public static Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder CreateDefault (string[]? args = default);
static member CreateDefault : string[] -> Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder
Public Shared Function CreateDefault (Optional args As String() = Nothing) As WebAssemblyHostBuilder

參數

args
String[]

傳遞至應用程式主要方法的引數。

傳回

WebAssemblyHostBuilder

適用於