ExceptionSummary Struct
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.
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
Remarks
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.
Constructors
ExceptionSummary(String, String, String) |
Initializes a new instance of the ExceptionSummary struct. |
Properties
AdditionalDetails |
Gets the additional details of the exception. |
Description |
Gets the summary description of the exception. |
ExceptionType |
Gets the type description of the exception. |
Methods
Equals(ExceptionSummary) |
Determines whether this summary and a specified other summary are identical. |
Equals(Object) |
Determines whether this summary and a specified other summary are identical. |
GetHashCode() |
Gets a hash code for this object. |
ToString() |
Gets a string representation of this object. |
Operators
Equality(ExceptionSummary, ExceptionSummary) |
Equality operator. |
Inequality(ExceptionSummary, ExceptionSummary) |
Inequality operator. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應