Builder. Build Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Runs the given actions to initialize the host. This method can only be called once.
public: virtual Microsoft::Extensions::Hosting::IHost ^ Build();
public Microsoft.Extensions.Hosting.IHost Build ();
abstract member Build : unit -> Microsoft.Extensions.Hosting.IHost override this.Build : unit -> Microsoft.Extensions.Hosting.IHost
Public Function Build () As IHost
An initialized IHost.
This method adds basic services to the host, such as application lifetime, host environment, and logging.