ControllerActionInvoker.GetFilters 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取動作篩選條件的相關資訊。
protected virtual System.Web.Mvc.FilterInfo GetFilters(System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor);
abstract member GetFilters : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> System.Web.Mvc.FilterInfo
override this.GetFilters : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> System.Web.Mvc.FilterInfo
Protected Overridable Function GetFilters (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor) As FilterInfo
參數
- controllerContext
- ControllerContext
控制器內容。
- actionDescriptor
- ActionDescriptor
動作描述元。
傳回
動作篩選條件的相關資訊。