Udostępnij za pośrednictwem


HttpClientBuilderExtensions.RemoveAllLoggers(IHttpClientBuilder) Metoda

Definicja

Usuwa wszystkie wcześniej dodane rejestratory dla nazwanego HttpClientelementu , w tym te domyślne.

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

Zwraca

Element IHttpClientBuilder , który może służyć do konfigurowania klienta.

Dotyczy