Share via


IViewComponentInvoker.InvokeAsync(ViewComponentContext) Method

Definition

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.Task
Public Function InvokeAsync (context As ViewComponentContext) As Task

Parameters

Returns

A Task that represents the asynchronous operation of execution.

Applies to