Compartir a través de


HttpClientBuilderExtensions.RemoveAllLoggers(IHttpClientBuilder) Método

Definición

Quita todos los registradores agregados previamente para un objeto con nombre HttpClient, incluidos los predeterminados.

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

Parámetros

builder
IHttpClientBuilder

El parámetro de cadena de consulta IHttpClientBuilder.

Devoluciones

Un objeto IHttpClientBuilder que se puede usar para configurar el cliente.

Se aplica a