FileContentResultExecutor.ExecuteAsync Methode

Definition

Führt das Aktionsergebnis asynchron aus, indem das geändert wird HttpResponse.

public:
 virtual System::Threading::Tasks::Task ^ ExecuteAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ context, Microsoft::AspNetCore::Mvc::FileContentResult ^ result);
public virtual System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.FileContentResult result);
abstract member ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.FileContentResult -> System.Threading.Tasks.Task
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.FileContentResult -> System.Threading.Tasks.Task
Public Overridable Function ExecuteAsync (context As ActionContext, result As FileContentResult) As Task

Parameter

context
ActionContext

Die ActionContext der aktuellen Anforderung zugeordnete. />

result
FileContentResult

Das auszuführende Aktionsergebnis.

Gibt zurück

Ein Task , der den asynchronen Vorgang darstellt.

Implementiert

Gilt für: