Aracılığıyla paylaş


IViewComponentResult.ExecuteAsync(ViewComponentContext) Yöntem

Tanım

Belirtilen contextkullanarak bir sonucunu ViewComponent zaman uyumsuz olarak yürütür.

public:
 System::Threading::Tasks::Task ^ ExecuteAsync(Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ context);
public System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context);
abstract member ExecuteAsync : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> System.Threading.Tasks.Task
Public Function ExecuteAsync (context As ViewComponentContext) As Task

Parametreler

context
ViewComponentContext

ViewComponentContext Geçerli bileşen yürütme için.

Döndürülenler

Task Zaman uyumsuz yürütmeyi temsil eden bir.

Şunlara uygulanır