Freigeben über


ExceptionSummarizationBuilderExtensions.AddHttpProvider Methode

Definition

Registriert einen Zusammenfassungsanbieter, der , WebExceptionund SocketException verarbeitetOperationCanceledException.

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

Parameter

builder
IExceptionSummarizationBuilder

Der Generator, an den der Anbieter angefügt werden soll.

Gibt zurück

Der Wert von builder.

Ausnahmen

builder ist null

Gilt für: