Compartilhar via


HttpClientBuilderExtensions.RemoveAllLoggers(IHttpClientBuilder) Método

Definição

Remove todos os agentes adicionados anteriormente para um nomeado HttpClient, incluindo os padrão.

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

Retornos

Um IHttpClientBuilder que pode ser usado para configurar o cliente.

Aplica-se a