Compartir vía


IExceptionSummarizationBuilder.AddProvider<T> Método

Definición

Agrega un proveedor de resumen al generador.

public:
generic <typename T>
 where T : class, Microsoft::Extensions::Diagnostics::ExceptionSummarization::IExceptionSummaryProvider Microsoft::Extensions::Diagnostics::ExceptionSummarization::IExceptionSummarizationBuilder ^ AddProvider();
public Microsoft.Extensions.Diagnostics.ExceptionSummarization.IExceptionSummarizationBuilder AddProvider<T> () where T : class, Microsoft.Extensions.Diagnostics.ExceptionSummarization.IExceptionSummaryProvider;
abstract member AddProvider : unit -> Microsoft.Extensions.Diagnostics.ExceptionSummarization.IExceptionSummarizationBuilder (requires 'T : null and 'T :> Microsoft.Extensions.Diagnostics.ExceptionSummarization.IExceptionSummaryProvider)
Public Function AddProvider(Of T As {Class, IExceptionSummaryProvider}) () As IExceptionSummarizationBuilder

Parámetros de tipo

T

El tipo del proveedor.

Devoluciones

Instancia actual.

Se aplica a