Share via


ExceptionHandlerSuppressDiagnosticsContext Class

Definition

The context used to determine whether ExceptionHandlerMiddleware should record diagnostics for an exception.

public sealed class ExceptionHandlerSuppressDiagnosticsContext
type ExceptionHandlerSuppressDiagnosticsContext = class
Public NotInheritable Class ExceptionHandlerSuppressDiagnosticsContext
Inheritance
ExceptionHandlerSuppressDiagnosticsContext

Constructors

ExceptionHandlerSuppressDiagnosticsContext()

Properties

Exception

Gets the Exception that the exception handler middleware is processing.

ExceptionHandledBy

Gets the result of exception handling by ExceptionHandlerMiddleware.

HttpContext

Gets the HttpContext of the current request.

Applies to