Aracılığıyla paylaş


IViewComponentInvoker.InvokeAsync(ViewComponentContext) Yöntem

Tanım

tarafından ViewComponentDescriptorcontext belirtilen görünüm bileşenini yürütür ve sonucu öğesine Writeryazar.

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

Parametreler

Döndürülenler

Task Yürütmenin zaman uyumsuz işlemini temsil eden bir.

Şunlara uygulanır