ViewComponentResultExecutor.ExecuteAsync Yöntem

Tanım

öğesini değiştirerek HttpResponseeylem sonucunu zaman uyumsuz olarak yürütür.

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

Parametreler

context
ActionContext

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

result
ViewComponentResult

Yürütülecek eylem sonucu.

Döndürülenler

Task Zaman uyumsuz işlemi temsil eden bir.

Uygulamalar

Şunlara uygulanır