Bagikan melalui


WebAssemblyHostBuilder.CreateDefault(String[]) Metode

Definisi

Membuat instans penggunaan WebAssemblyHostBuilder konvensi dan pengaturan yang paling umum.

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

Parameter

args
String[]

Argumen diteruskan ke metode utama aplikasi.

Mengembalikan

WebAssemblyHostBuilder.

Berlaku untuk