ExceptionSummary Struct
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.
Holds a summary of an exception for use in telemetry.
public value class ExceptionSummary : IEquatable<Microsoft::Extensions::Diagnostics::ExceptionSummarization::ExceptionSummary>
public readonly struct ExceptionSummary : IEquatable<Microsoft.Extensions.Diagnostics.ExceptionSummarization.ExceptionSummary>
type ExceptionSummary = struct
Public Structure ExceptionSummary
Implements IEquatable(Of ExceptionSummary)
- Inheritance
- Implements
Metric tags typically support a limited number of distinct values, and as such they are not suitable to represent values that are highly variable, such as the result of ToString(). An exception summary represents a low-cardinality version of an exception's information, suitable for such cases.
The Description property never includes sensitive information. But the AdditionalDetails property might contain sensitive information and thus shouldn't be used in telemetry.
Exception |
Initializes a new instance of the ExceptionSummary struct. |
Additional |
Gets the additional details of the exception. |
Description |
Gets the summary description of the exception. |
Exception |
Gets the type description of the exception. |
Equals(Exception |
Determines whether this summary and a specified other summary are identical. |
Equals(Object) |
Determines whether this summary and a specified other summary are identical. |
Get |
Gets a hash code for this object. |
To |
Gets a string representation of this object. |
Equality(Exception |
Equality operator. |
Inequality(Exception |
Inequality operator. |
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: