ExceptionSummarizationServiceCollectionExtensions 类

定义

用于注册异常汇总的扩展。

public ref class ExceptionSummarizationServiceCollectionExtensions abstract sealed
public static class ExceptionSummarizationServiceCollectionExtensions
type ExceptionSummarizationServiceCollectionExtensions = class
Public Module ExceptionSummarizationServiceCollectionExtensions
继承
ExceptionSummarizationServiceCollectionExtensions

方法

AddExceptionSummarizer(IServiceCollection, Action<IExceptionSummarizationBuilder>)

将异常摘要生成器注册到依赖项注入容器中。

AddExceptionSummarizer(IServiceCollection)

将异常摘要生成器注册到依赖项注入容器中。

适用于