ActionExecutingContext Constructor
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.
Instantiates a new ActionExecutingContext instance.
public:
ActionExecutingContext(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata ^> ^ filters, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ actionArguments, System::Object ^ controller);
public ActionExecutingContext (Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> filters, System.Collections.Generic.IDictionary<string,object> actionArguments, object controller);
public ActionExecutingContext (Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> filters, System.Collections.Generic.IDictionary<string,object?> actionArguments, object controller);
new Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext : Microsoft.AspNetCore.Mvc.ActionContext * System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> * System.Collections.Generic.IDictionary<string, obj> * obj -> Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext
Public Sub New (actionContext As ActionContext, filters As IList(Of IFilterMetadata), actionArguments As IDictionary(Of String, Object), controller As Object)
Parameters
- actionContext
- ActionContext
The ActionContext.
- filters
- IList<IFilterMetadata>
All applicable IFilterMetadata implementations.
- actionArguments
- IDictionary<String,Object>
The arguments to pass when invoking the action. Keys are parameter names.
- controller
- Object
The controller instance containing the action.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for