ActionExecutingContext Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Instanziiert eine neue 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)
Parameter
- actionContext
- ActionContext
Die ActionContext.
- filters
- IList<IFilterMetadata>
Alle anwendbaren IFilterMetadata Implementierungen.
- actionArguments
- IDictionary<String,Object>
Die Argumente, die beim Aufrufen der Aktion übergeben werden sollen. Schlüssel sind Parameternamen.
- controller
- Object
Der Controller instance die Aktion enthält.
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für