共用方式為


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 表示管線中的下一個中介軟體。

適用於