Share via


IExceptionSummarizer.Summarize(Exception) Method

Definition

Gives the best available summary of a given Exception for telemetry.

public:
 Microsoft::Extensions::Diagnostics::ExceptionSummarization::ExceptionSummary Summarize(Exception ^ exception);
public Microsoft.Extensions.Diagnostics.ExceptionSummarization.ExceptionSummary Summarize (Exception exception);
abstract member Summarize : Exception -> Microsoft.Extensions.Diagnostics.ExceptionSummarization.ExceptionSummary
Public Function Summarize (exception As Exception) As ExceptionSummary

Parameters

exception
Exception

The exception to summarize.

Returns

The summary of the given Exception.

Applies to