Share via


IDisabledFeaturesHandler.HandleDisabledFeatures Method

Definition

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.

Applies to