StatusCodeContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的 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)
參數
- context
- HttpContext
- options
- StatusCodePagesOptions
已設定的 StatusCodePagesOptions。
- next
- RequestDelegate
, RequestDelegate 表示管線中的下一個中介軟體。