IDisabledFeaturesHandler.HandleDisabledFeatures Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Callback used to handle requests to an MVC action that require a feature that is disabled.
public System.Threading.Tasks.Task HandleDisabledFeatures(System.Collections.Generic.IEnumerable<string> features, Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context);
abstract member HandleDisabledFeatures : seq<string> * Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext -> System.Threading.Tasks.Task
Public Function HandleDisabledFeatures (features As IEnumerable(Of String), context As ActionExecutingContext) As Task
Parameters
- features
- IEnumerable<String>
The name of the features that the action could have been activated for.
- context
- ActionExecutingContext
The action executing context provided by MVC.
Returns
The task.