Condividi tramite


ViewComponentResultExecutor.ExecuteAsync Metodo

Definizione

Esegue in modo asincrono il risultato dell'azione modificando .HttpResponse

public:
 virtual System::Threading::Tasks::Task ^ ExecuteAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ context, Microsoft::AspNetCore::Mvc::ViewComponentResult ^ result);
public virtual System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ViewComponentResult result);
abstract member ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ViewComponentResult -> System.Threading.Tasks.Task
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ViewComponentResult -> System.Threading.Tasks.Task
Public Overridable Function ExecuteAsync (context As ActionContext, result As ViewComponentResult) As Task

Parametri

context
ActionContext

Oggetto ActionContext associato alla richiesta corrente." />

result
ViewComponentResult

Risultato dell'azione da eseguire.

Restituisce

Oggetto Task che rappresenta l'operazione asincrona.

Implementazioni

Si applica a