Condividi tramite


HostingAbstractionsHostExtensions.Run(IHost) Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static void Run(Microsoft::Extensions::Hosting::IHost ^ host);
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

The IHost to run.

Applies to