Sdílet prostřednictvím


HttpClientBuilderExtensions.RemoveAllLoggers(IHttpClientBuilder) Metoda

Definice

Odebere všechny dříve přidané protokolovací nástroje pro pojmenovaný HttpClient, včetně výchozích.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHttpClientBuilder ^ RemoveAllLoggers(Microsoft::Extensions::DependencyInjection::IHttpClientBuilder ^ builder);
public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder RemoveAllLoggers (this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder);
static member RemoveAllLoggers : Microsoft.Extensions.DependencyInjection.IHttpClientBuilder -> Microsoft.Extensions.DependencyInjection.IHttpClientBuilder
<Extension()>
Public Function RemoveAllLoggers (builder As IHttpClientBuilder) As IHttpClientBuilder

Parametry

Návraty

Slouží IHttpClientBuilder ke konfiguraci klienta.

Platí pro