HostingAbstractionsHostExtensions.Run(IHost) HostingAbstractionsHostExtensions.Run(IHost) HostingAbstractionsHostExtensions.Run(IHost) Method

Definition

Runs an application and block the calling thread until host shutdown.

public static void Run (this Microsoft.Extensions.Hosting.IHost host);
static member Run : Microsoft.Extensions.Hosting.IHost -> unit
<Extension()>
Public Sub Run (host As IHost)

Parameters

host
IHost IHost IHost

The IHost to run.

Applies to