IViewComponentInvoker.InvokeAsync(ViewComponentContext) 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
执行 由 ViewComponentDescriptorcontext 指定的视图组件,并将结果写入 。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 Task参数
- context
- ViewComponentContext
返回
一个 Task ,它表示执行的异步操作。