Class RedirectToUmbracoUrlResult
Redirects to the current URL rendering an Umbraco page including it's query strings
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Website.ActionResults
Assembly: Umbraco.Web.Website.dll
Syntax
public class RedirectToUmbracoUrlResult : IKeepTempDataResult
Remarks
This is useful if you need to redirect to the current page but the current page is actually a rewritten URL normally done with something like Server.Transfer. It is also handy if you want to persist the query strings.
Constructors
View SourceRedirectToUmbracoUrlResult(IUmbracoContext)
Initializes a new instance of the RedirectToUmbracoUrlResult class.
Declaration
public RedirectToUmbracoUrlResult(IUmbracoContext umbracoContext)
Parameters
Type | Name | Description |
---|---|---|
IUmbracoContext | umbracoContext |
Methods
View SourceExecuteResultAsync(ActionContext)
Declaration
public Task ExecuteResultAsync(ActionContext context)
Parameters
Type | Name | Description |
---|---|---|
ActionContext | context |
Returns
Type | Description |
---|---|
Task |