HostingAbstractionsWebHostBuilderExtensions.SuppressStatusMessages(IWebHostBuilder, Boolean) HostingAbstractionsWebHostBuilderExtensions.SuppressStatusMessages(IWebHostBuilder, Boolean) HostingAbstractionsWebHostBuilderExtensions.SuppressStatusMessages(IWebHostBuilder, Boolean) HostingAbstractionsWebHostBuilderExtensions.SuppressStatusMessages(IWebHostBuilder, Boolean) Method

Definition

Specify if startup status messages should be suppressed.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ SuppressStatusMessages(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, bool suppressStatusMessages);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder SuppressStatusMessages (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, bool suppressStatusMessages);
static member SuppressStatusMessages : Microsoft.AspNetCore.Hosting.IWebHostBuilder * bool -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function SuppressStatusMessages (hostBuilder As IWebHostBuilder, suppressStatusMessages As Boolean) As IWebHostBuilder

Parameters

suppressStatusMessages
Boolean Boolean Boolean Boolean

true to suppress writing of hosting startup status messages; otherwise false.

Returns

Applies to