ProblemDetailsContext Class

Definition

Represent the current problem details context for the request.

C#
public sealed class ProblemDetailsContext
Inheritance
ProblemDetailsContext

Constructors

Properties

AdditionalMetadata

A collection of additional arbitrary metadata associated with the current request endpoint.

Exception

The exception causing the problem or null if no exception information is available.

HttpContext

The HttpContext associated with the current request being processed by the filter.

ProblemDetails

An instance of ProblemDetails that will be used during the response payload generation.

Applies to

Produkt Verzie
ASP.NET Core 7.0, 8.0, 9.0