November Happy Hour will be moved to Thursday December 5th.

Class RestStatusCodeResult

Inheritance
System.Object
RestStatusCodeResult
Namespace: EPiServer.Shell.Services.Rest
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public class RestStatusCodeResult : RestResultBase

Constructors

RestStatusCodeResult(Int32)

Declaration
public RestStatusCodeResult(int statusCode)
Parameters
Type Name Description
System.Int32 statusCode

RestStatusCodeResult(Int32, String)

Declaration
public RestStatusCodeResult(int statusCode, string statusDescription)
Parameters
Type Name Description
System.Int32 statusCode
System.String statusDescription

RestStatusCodeResult(Int32, String, IObjectSerializerFactory)

Declaration
public RestStatusCodeResult(int statusCode, string statusDescription, IObjectSerializerFactory serializerFactory)
Parameters
Type Name Description
System.Int32 statusCode
System.String statusDescription
IObjectSerializerFactory serializerFactory

RestStatusCodeResult(HttpStatusCode)

Declaration
public RestStatusCodeResult(HttpStatusCode statusCode)
Parameters
Type Name Description
System.Net.HttpStatusCode statusCode

RestStatusCodeResult(HttpStatusCode, String)

Declaration
public RestStatusCodeResult(HttpStatusCode statusCode, string statusDescription)
Parameters
Type Name Description
System.Net.HttpStatusCode statusCode
System.String statusDescription

Properties

HttpStatusCode

Declaration
public HttpStatusCode HttpStatusCode { get; }
Property Value
Type Description
System.Net.HttpStatusCode

StatusCode

Declaration
public int StatusCode { get; set; }
Property Value
Type Description
System.Int32

StatusDescription

Declaration
public string StatusDescription { get; set; }
Property Value
Type Description
System.String

Methods

ExecuteResult(ControllerContext)

Declaration
public override void ExecuteResult(ControllerContext context)
Parameters
Type Name Description
System.Web.Mvc.ControllerContext context
Overrides

Extension Methods