IViewComponentResult.ExecuteAsync(ViewComponentContext) Méthode

Définition

Exécute de manière asynchrone le résultat d’un ViewComponent à l’aide du spécifié context.

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

Paramètres

context
ViewComponentContext

pour l’exécution actuelle du ViewComponentContext composant.

Retours

Task qui représente l’exécution asynchrone.

S’applique à