Aracılığıyla paylaş


ContentResultExecutor.ExecuteAsync(ActionContext, ContentResult) Yöntem

Tanım

eylem sonucunu değiştirerek zaman uyumsuz olarak yürütür HttpResponse.

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

Parametreler

context
ActionContext

ActionContext Geçerli istekle ilişkili." />

result
ContentResult

Yürütülecek eylem sonucu.

Döndürülenler

Task Zaman uyumsuz işlemi temsil eden A.

Uygulamalar

Şunlara uygulanır