Bagikan melalui


IExceptionSummarizationBuilder.AddProvider<T> Metode

Definisi

Menambahkan penyedia ringkasan ke penyusun.

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

Jenis parameter

T

Jenis penyedia.

Mengembalikan

Instans saat ini.

Berlaku untuk