ExceptionSummarizationBuilderExtensions.AddHttpProvider Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers a summary provider that handles OperationCanceledException, WebException, and 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
Parameters
- builder
- IExceptionSummarizationBuilder
The builder to attach the provider to.
Returns
The value of builder
.
Exceptions
builder
is null
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.