Compartir a través de


PartialViewResultExecutor.ExecuteAsync Método

Definición

Sobrecargas

ExecuteAsync(ActionContext, PartialViewResult)

Ejecuta de forma asincrónica el resultado de la acción modificando .HttpResponse

ExecuteAsync(ActionContext, IView, PartialViewResult)

Ejecuta de IView forma asincrónica.

ExecuteAsync(ActionContext, PartialViewResult)

Source:
PartialViewResultExecutor.cs
Source:
PartialViewResultExecutor.cs
Source:
PartialViewResultExecutor.cs

Ejecuta de forma asincrónica el resultado de la acción modificando .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

asociado ActionContext a la solicitud actual". />

result
PartialViewResult

Resultado de la acción que se va a ejecutar.

Devoluciones

que Task representa la operación asincrónica.

Implementaciones

Se aplica a

ExecuteAsync(ActionContext, IView, PartialViewResult)

Source:
PartialViewResultExecutor.cs
Source:
PartialViewResultExecutor.cs
Source:
PartialViewResultExecutor.cs

Ejecuta de IView forma asincrónica.

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

asociado ActionContext a la solicitud actual.

view
IView

IView.

Devoluciones

que Task se completará cuando se complete la ejecución de la vista.

Se aplica a