Compartir a través de


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

Parámetros

context
ActionContext

asociado ActionContext a la solicitud actual". />

result
PhysicalFileResult

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

Devoluciones

que Task representa la operación asincrónica.

Implementaciones

Se aplica a