ViewComponentResultExecutor.ExecuteAsync Méthode

Définition

Exécute de manière asynchrone le résultat de l’action, en modifiant le HttpResponse.

public:
 virtual System::Threading::Tasks::Task ^ ExecuteAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ context, Microsoft::AspNetCore::Mvc::ViewComponentResult ^ result);
public virtual System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ViewComponentResult result);
abstract member ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ViewComponentResult -> System.Threading.Tasks.Task
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ViewComponentResult -> System.Threading.Tasks.Task
Public Overridable Function ExecuteAsync (context As ActionContext, result As ViewComponentResult) As Task

Paramètres

context
ActionContext

ActionContext associé à la requête actuelle. » />

result
ViewComponentResult

Résultat de l’action à exécuter.

Retours

Task qui représente l’opération asynchrone.

Implémente

S’applique à