IViewComponentInvoker.InvokeAsync(ViewComponentContext) Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the view component specified by ViewComponentDescriptor
of context and writes the result to Writer.
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.TaskPublic Function InvokeAsync (context As ViewComponentContext) As TaskParameters
- context
- ViewComponentContext
The ViewComponentContext.
Returns
A Task that represents the asynchronous operation of execution.