Partilhar via


PartialViewResultExecutor.ExecuteAsync Método

Definição

Sobrecargas

ExecuteAsync(ActionContext, PartialViewResult)

Executa de forma assíncrona o resultado da ação modificando o HttpResponse.

ExecuteAsync(ActionContext, IView, PartialViewResult)

Executa o de IView forma assíncrona.

ExecuteAsync(ActionContext, PartialViewResult)

Origem:
PartialViewResultExecutor.cs
Origem:
PartialViewResultExecutor.cs
Origem:
PartialViewResultExecutor.cs

Executa de forma assíncrona o resultado da ação modificando o 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

Parâmetros

context
ActionContext

O ActionContext associado à solicitação atual." />

result
PartialViewResult

O resultado da ação a ser executada.

Retornos

Um Task que representa a operação assíncrona.

Implementações

Aplica-se a

ExecuteAsync(ActionContext, IView, PartialViewResult)

Origem:
PartialViewResultExecutor.cs
Origem:
PartialViewResultExecutor.cs
Origem:
PartialViewResultExecutor.cs

Executa o de IView forma assíncrona.

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

Parâmetros

actionContext
ActionContext

O ActionContext associado à solicitação atual.

view
IView

O IView.

Retornos

Um Task que será concluído quando a execução da exibição for concluída.

Aplica-se a