語言

WebApplicationFactory<TEntryPoint>.StartServer 方法

定義

透過配置主機建構器初始化實例。

public void StartServer();
member this.StartServer : unit -> unit
Public Sub StartServer ()

例外狀況

如果提供的 TEntryPoint 類型沒有工廠生產方法,則會丟棄。

適用於