Share via


IViewComponentResult.ExecuteAsync(ViewComponentContext) Methode

Definition

Führt asynchron das Ergebnis eines ViewComponent mit dem angegebenen contextaus.

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

Parameter

context
ViewComponentContext

Der ViewComponentContext für die aktuelle Komponentenausführung.

Gibt zurück

Eine Task , die die asynchrone Ausführung darstellt.

Gilt für: