IViewComponentInvoker.InvokeAsync(ViewComponentContext) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
- context
- ViewComponentContext
Döndürülenler
Task Yürütmenin zaman uyumsuz işlemini temsil eden bir.