IViewComponentResult.ExecuteAsync(ViewComponentContext) 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的 context异步执行 的结果ViewComponent。
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.TaskPublic Function ExecuteAsync (context As ViewComponentContext) As Task参数
- context
- ViewComponentContext
ViewComponentContext当前组件执行的 。
返回
一个 Task ,它表示异步执行。