| Ylbtech-.netframework-web.mvc:httpstatuscoderesult |
| 1. Assembly SYSTEM.WEB.MVC, version=5.2.3.0, culture=neutral, publickeytoken=31bf3856ad364e35 back to top |
1.
#regionAssembly SYSTEM.WEB.MVC, version=5.2.3.0, Culture=neutral, publickeytoken=31bf3856ad364e35//c:\users\administrator\source\repos\WebApp7\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\ System.Web.Mvc.dll#endregionusingSystem.Net;namespacesystem.web.mvc{// //Summary://provides a way to return the result of an operation with a specific HTTP response status code and description. Public classHttpstatuscoderesult:actionresult {// //Summary://Initializes a new instance of the System.Web.Mvc.HttpStatusCodeResult class with a status code. // //Parameters://StatusCode://The status code. PublicHttpstatuscoderesult (intStatusCode); // //Summary://Initializes a new instance of the System.Web.Mvc.HttpStatusCodeResult class with a status code. // //Parameters://StatusCode://The status code. PublicHttpstatuscoderesult (HttpStatusCode statusCode); // //Summary://Initializes a new instance of the System.Web.Mvc.HttpStatusCodeResult class using status codes and status descriptions. // //Parameters://StatusCode://The status code. // //statusdescription://status Description. PublicHttpstatuscoderesult (HttpStatusCode StatusCode,stringstatusdescription); // //Summary://Initializes a new instance of the System.Web.Mvc.HttpStatusCodeResult class using status codes and status descriptions. // //Parameters://StatusCode://The status code. // //statusdescription://status Description. PublicHttpstatuscoderesult (intStatusCode,stringstatusdescription); // //Summary://gets the HTTP status code. // //return Result://The HTTP status code. Public intStatusCode {Get; } // //Summary://Gets the HTTP status description. // //return Result://HTTP Status Description. Public stringstatusdescription {Get; } // //Summary://enables processing of the result of an action method by using a custom type that inherits from the System.Web.Mvc.ActionResult class. // //Parameters://Context://the context used to execute the result. Contextual information includes the controller, HTTP content, request context, and routing data. Public Override voidExecuteresult (controllercontext context); }}2.
|
Ylbtech Source: http://ylbtech.cnblogs.com/ This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility. |
. Netframework-web.mvc:httpstatuscoderesult