Aracılığıyla paylaş


ViewViewComponentResult.ExecuteAsync(ViewComponentContext) Yöntem

Tanım

tarafından ViewNamebelirtilen bir görünümü bulur ve işler. ise ViewNamenull, aranan görünüm adı olur"Default".

public:
 virtual 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
override this.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 Görüntüleme işleme tamamlandığında tamamlanacak bir.

Uygulamalar

Şunlara uygulanır