| Ylbtech-.netframework-web.mvc:jsonresult |
| 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.Text;namespacesystem.web.mvc{// //Summary://represents a class that is used to send JSON-formatted content to a response. Public classJsonresult:actionresult {// //Summary://Initializes a new instance of the System.Web.Mvc.JsonResult class. PublicJsonresult (); // //Summary://Gets or sets the content encoding. // //return Result://content encoding. PublicEncoding ContentEncoding {Get;Set; } // //Summary://Gets or sets the type of the content. // //return Result://the type of content. Public stringContentType {Get;Set; } // //Summary://Gets or sets the data. // //return Result://data. Public ObjectData {Get;Set; } // //Summary://Gets or sets a value that indicates whether to allow HTTP GET requests from clients. // //return Result://A value that indicates whether to allow HTTP GET requests from the client. PublicJsonrequestbehavior Jsonrequestbehavior {Get;Set; } // //Summary://Gets or sets the maximum length of the data. // //return Result://the maximum length of the data. Public int? Maxjsonlength {Get;Set; } // //Summary://Gets or sets the recursive limit. // //return Result://recursive restrictions. Public int? Recursionlimit {Get;Set; } // //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 in which the result was executed. // //Exception://T:System.ArgumentNullException://the context parameter is null. 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:jsonresult