DefaultEndpointFilterInvocationContext 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供預設實作,以包裝提供給路由處理常式的 HttpContext 和 參數。
public sealed class DefaultEndpointFilterInvocationContext : Microsoft.AspNetCore.Http.EndpointFilterInvocationContext
type DefaultEndpointFilterInvocationContext = class
inherit EndpointFilterInvocationContext
Public NotInheritable Class DefaultEndpointFilterInvocationContext
Inherits EndpointFilterInvocationContext
- 繼承
建構函式
DefaultEndpointFilterInvocationContext(HttpContext, Object[]) |
為指定的要求建立 的新實例 DefaultEndpointFilterInvocationContext 。 |
屬性
Arguments |
目前要求中提供給篩選準則的引數清單。 此清單不是唯讀的,可允許依篩選修改現有的引數。 |
HttpContext |
HttpContext與篩選準則正在處理之目前要求的 相關聯。 |
方法
GetArgument<T>(Int32) |
擷取引數,指定其在引數清單中的位置。 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應