Compartir a través de


ViewComponentResultExecutor.ExecuteAsync Método

Definición

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::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

Parámetros

context
ActionContext

asociado ActionContext a la solicitud actual". />

result
ViewComponentResult

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

Devoluciones

que Task representa la operación asincrónica.

Implementaciones

Se aplica a