IExceptionSummarizationBuilder.AddProvider<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a summary provider to the builder.
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
Type Parameters
- T
The type of the provider.
Returns
The current instance.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.