IViewComponentResult.ExecuteAsync(ViewComponentContext) Metoda

Definice

Asynchronně spustí výsledek objektu ViewComponent pomocí zadaného contextobjektu .

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

Parametry

context
ViewComponentContext

Pro ViewComponentContext aktuální spuštění komponenty.

Návraty

A Task , který představuje asynchronní spuštění.

Platí pro