ExceptionSummarizationBuilderExtensions.AddHttpProvider 方法

定义

注册处理 OperationCanceledExceptionWebExceptionSocketException 的摘要提供程序。

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

参数

builder
IExceptionSummarizationBuilder

要向其附加提供程序的生成器。

返回

builder 的值。

例外

buildernull

适用于