Compartir a través de


ViewViewComponentResult.ExecuteAsync(ViewComponentContext) Método

Definición

Busca y representa una vista especificada por ViewName. Si ViewName es null, el nombre de la vista buscado es"Default" .

public:
 virtual 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
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> System.Threading.Tasks.Task
Public Function ExecuteAsync (context As ViewComponentContext) As Task

Parámetros

context
ViewComponentContext

ViewComponentContext para la ejecución del componente actual.

Devoluciones

que Task se completará cuando se complete la representación de la vista.

Implementaciones

Se aplica a