Condividi tramite


PartialViewResultExecutor.ExecuteAsync Metodo

Definizione

Overload

ExecuteAsync(ActionContext, PartialViewResult)

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

ExecuteAsync(ActionContext, IView, PartialViewResult)

Esegue l'oggetto IView in modo asincrono.

ExecuteAsync(ActionContext, PartialViewResult)

Origine:
PartialViewResultExecutor.cs
Origine:
PartialViewResultExecutor.cs
Origine:
PartialViewResultExecutor.cs

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::PartialViewResult ^ result);
public virtual System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.PartialViewResult result);
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.PartialViewResult -> System.Threading.Tasks.Task
Public Overridable Function ExecuteAsync (context As ActionContext, result As PartialViewResult) As Task

Parametri

context
ActionContext

Oggetto ActionContext associato alla richiesta corrente." />

result
PartialViewResult

Risultato dell'azione da eseguire.

Restituisce

Oggetto Task che rappresenta l'operazione asincrona.

Implementazioni

Si applica a

ExecuteAsync(ActionContext, IView, PartialViewResult)

Origine:
PartialViewResultExecutor.cs
Origine:
PartialViewResultExecutor.cs
Origine:
PartialViewResultExecutor.cs

Esegue l'oggetto IView in modo asincrono.

public:
 virtual System::Threading::Tasks::Task ^ ExecuteAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::ViewEngines::IView ^ view, Microsoft::AspNetCore::Mvc::PartialViewResult ^ viewResult);
public virtual System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ViewEngines.IView view, Microsoft.AspNetCore.Mvc.PartialViewResult viewResult);
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ViewEngines.IView * Microsoft.AspNetCore.Mvc.PartialViewResult -> System.Threading.Tasks.Task
Public Overridable Function ExecuteAsync (actionContext As ActionContext, view As IView, viewResult As PartialViewResult) As Task

Parametri

actionContext
ActionContext

Oggetto ActionContext associato alla richiesta corrente.

view
IView

Oggetto IView.

viewResult
PartialViewResult

Oggetto PartialViewResult.

Restituisce

Oggetto Task che verrà completato al termine dell'esecuzione della visualizzazione.

Si applica a