StatusCodePagesMiddleware Class

Namespace
Microsoft.AspNetCore.Diagnostics
Assemblies
  • Microsoft.AspNetCore.Diagnostics

Syntax

public class StatusCodePagesMiddleware
class Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware

Constructors

StatusCodePagesMiddleware(Microsoft.AspNetCore.Http.RequestDelegate, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.StatusCodePagesOptions>)
public StatusCodePagesMiddleware(RequestDelegate next, IOptions<StatusCodePagesOptions> options)

Methods

Invoke(Microsoft.AspNetCore.Http.HttpContext)
Return type:System.Threading.Tasks.Task
public Task Invoke(HttpContext context)