DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext) Metoda

Definicja

Wykonuje składnik widoku określony przez ViewComponentDescriptorcontext element i zapisuje wynik na Writer.

public:
 virtual 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
override this.InvokeAsync : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> System.Threading.Tasks.Task
Public Function InvokeAsync (context As ViewComponentContext) As Task

Parametry

Zwraca

Element Task reprezentujący asynchroniczną operację wykonywania.

Implementuje

Dotyczy