Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​AspNetCore.​Http.​ProblemDetailsContext

Assembly: Microsoft.AspNetCore.Http.Abstractions

Inheritance: object → ProblemDetailsContext

Represent the current problem details context for the request.

Properties

public required HttpContext
HttpContext
The <see cref="P:Microsoft.AspNetCore.Http.ProblemDetailsContext.HttpContext" /> associated with the current request being processed by the filter.
AdditionalMetadata
A collection of additional arbitrary metadata associated with the current request endpoint.
ProblemDetails
An instance of <see cref="P:Microsoft.AspNetCore.Http.ProblemDetailsContext.ProblemDetails" /> that will be used during the response payload generation.
Exception
The exception causing the problem or <c>null</c> if no exception information is available.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object