MiddlewareOrder Enum

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.

Designates ordering of middleware in the invocation pipeline.

C#
public enum MiddlewareOrder
Inheritance
MiddlewareOrder

Fields

Name Value Description
ExceptionHandler -2000

The position in the pipeline at which the exception handler middleware is invoked.

Configuration -1000

The position in the pipeline at which configuration middleware is invoked.

Default 0

The default position in the pipeline.

ErrorReporting 1000

The position in the pipeline at which error reporting middleware is invoked.

Applies to

Produkt Verzie
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)