PartialViewResultExecutor.ExecuteAsync Méthode

Définition

Surcharges

ExecuteAsync(ActionContext, PartialViewResult)

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

ExecuteAsync(ActionContext, IView, PartialViewResult)

Exécute le IView de manière asynchrone.

ExecuteAsync(ActionContext, PartialViewResult)

Source:
PartialViewResultExecutor.cs
Source:
PartialViewResultExecutor.cs

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::PartialViewResult ^ result);
public virtual System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.PartialViewResult result);
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.PartialViewResult -> System.Threading.Tasks.Task
Public Overridable Function ExecuteAsync (context As ActionContext, result As PartialViewResult) As Task

Paramètres

context
ActionContext

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

result
PartialViewResult

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

Retours

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

Implémente

S’applique à

ExecuteAsync(ActionContext, IView, PartialViewResult)

Source:
PartialViewResultExecutor.cs
Source:
PartialViewResultExecutor.cs

Exécute le IView de manière asynchrone.

public:
 virtual System::Threading::Tasks::Task ^ ExecuteAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::ViewEngines::IView ^ view, Microsoft::AspNetCore::Mvc::PartialViewResult ^ viewResult);
public virtual System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ViewEngines.IView view, Microsoft.AspNetCore.Mvc.PartialViewResult viewResult);
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ViewEngines.IView * Microsoft.AspNetCore.Mvc.PartialViewResult -> System.Threading.Tasks.Task
Public Overridable Function ExecuteAsync (actionContext As ActionContext, view As IView, viewResult As PartialViewResult) As Task

Paramètres

actionContext
ActionContext

ActionContext associé à la requête actuelle.

view
IView

L’IViewopérateur

viewResult
PartialViewResult

L’PartialViewResultopérateur

Retours

Task qui se termine lorsque l’exécution de l’affichage est terminée.

S’applique à