Class PublishedContentNotFoundResult
Returns the Umbraco not found result
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Common.ActionsResults
Assembly: Umbraco.Web.Common.dll
Syntax
public class PublishedContentNotFoundResult : IActionResult
Constructors
View SourcePublishedContentNotFoundResult(IUmbracoContext, String)
Initializes a new instance of the PublishedContentNotFoundResult class.
Declaration
public PublishedContentNotFoundResult(IUmbracoContext umbracoContext, string message = null)
Parameters
Type | Name | Description |
---|---|---|
IUmbracoContext | umbracoContext | |
System.String | message |
Methods
View SourceExecuteResultAsync(ActionContext)
Declaration
public async Task ExecuteResultAsync(ActionContext context)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.ActionContext | context |
Returns
Type | Description |
---|---|
Task |