PartialViewResultExecutor.ExecuteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ExecuteAsync(ActionContext, PartialViewResult) |
Asynchronously executes the action result, by modifying the HttpResponse. |
ExecuteAsync(ActionContext, IView, PartialViewResult) |
Executes the IView asynchronously. |
ExecuteAsync(ActionContext, PartialViewResult)
- Source:
- PartialViewResultExecutor.cs
- Source:
- PartialViewResultExecutor.cs
- Source:
- PartialViewResultExecutor.cs
Asynchronously executes the action result, by modifying the 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
Parameters
- context
- ActionContext
The ActionContext associated with the current request."/>
- result
- PartialViewResult
The action result to execute.
Returns
A Task which represents the asynchronous operation.
Implements
Applies to
ExecuteAsync(ActionContext, IView, PartialViewResult)
- Source:
- PartialViewResultExecutor.cs
- Source:
- PartialViewResultExecutor.cs
- Source:
- PartialViewResultExecutor.cs
Executes the IView asynchronously.
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
Parameters
- actionContext
- ActionContext
The ActionContext associated with the current request.
- viewResult
- PartialViewResult
The PartialViewResult.
Returns
A Task which will complete when view execution is completed.