Condividi tramite


HttpClientBuilderExtensions.RemoveAllLoggers(IHttpClientBuilder) Metodo

Definizione

Rimuove tutti i loggger aggiunti in precedenza per un denominato HttpClient, inclusi quelli predefiniti.

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

Parametri

Restituisce

Oggetto IHttpClientBuilder che è possibile usare per configurare il client.

Si applica a