StatusCodeContext 构造函数

定义

创建一个新的 StatusCodeContext

public:
 StatusCodeContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::StatusCodePagesOptions ^ options, Microsoft::AspNetCore::Http::RequestDelegate ^ next);
public StatusCodeContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.StatusCodePagesOptions options, Microsoft.AspNetCore.Http.RequestDelegate next);
new Microsoft.AspNetCore.Diagnostics.StatusCodeContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.StatusCodePagesOptions * Microsoft.AspNetCore.Http.RequestDelegate -> Microsoft.AspNetCore.Diagnostics.StatusCodeContext
Public Sub New (context As HttpContext, options As StatusCodePagesOptions, next As RequestDelegate)

参数

next
RequestDelegate

表示 RequestDelegate 管道中的下一个中间件的 。

适用于