Udostępnij za pośrednictwem


IExceptionSummarizationBuilder.AddProvider<T> Metoda

Definicja

Dodaje dostawcę podsumowania do konstruktora.

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

Parametry typu

T

Typ dostawcy.

Zwraca

Bieżące wystąpienie.

Dotyczy