Compartir vía


ExceptionSummarizationBuilderExtensions.AddHttpProvider Método

Definición

Registra un proveedor de resumen que controla OperationCanceledException, WebExceptiony SocketException .

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Diagnostics::ExceptionSummarization::IExceptionSummarizationBuilder ^ AddHttpProvider(Microsoft::Extensions::Diagnostics::ExceptionSummarization::IExceptionSummarizationBuilder ^ builder);
public static Microsoft.Extensions.Diagnostics.ExceptionSummarization.IExceptionSummarizationBuilder AddHttpProvider (this Microsoft.Extensions.Diagnostics.ExceptionSummarization.IExceptionSummarizationBuilder builder);
static member AddHttpProvider : Microsoft.Extensions.Diagnostics.ExceptionSummarization.IExceptionSummarizationBuilder -> Microsoft.Extensions.Diagnostics.ExceptionSummarization.IExceptionSummarizationBuilder
<Extension()>
Public Function AddHttpProvider (builder As IExceptionSummarizationBuilder) As IExceptionSummarizationBuilder

Parámetros

builder
IExceptionSummarizationBuilder

Generador al que se va a asociar el proveedor.

Devoluciones

El valor de builder.

Excepciones

builder es null.

Se aplica a