Class UmbracoPageResult
Used by posted forms to proxy the result to the page in which the current URL matches on
Inheritance
Namespace: Umbraco.Cms.Web.Website.ActionResults
Assembly: Umbraco.Web.Website.dll
Syntax
public class UmbracoPageResult
Remarks
This page does not redirect therefore it does not implement Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult because TempData should only be used in situations when a redirect occurs. It is not good practice to use TempData when redirects do not occur so we'll be strict about it and not save it.
Constructors
View SourceUmbracoPageResult(IProfilingLogger)
Initializes a new instance of the UmbracoPageResult class.
Declaration
public UmbracoPageResult(IProfilingLogger profilingLogger)
Parameters
| Type | Name | Description |
|---|---|---|
| IProfilingLogger | profilingLogger |
Methods
View SourceExecuteResultAsync(ActionContext)
Executes the result operation of the action method asynchronously. This method is called by MVC to process the result of an action method.
Declaration
public Task ExecuteResultAsync(ActionContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ActionContext | context | The context in which the result is executed. The context information includes information about the action that was executed and request information. |
Returns
| Type | Description |
|---|---|
| Task | A task that represents the asynchronous execute operation. |