System.Web.Script.Services 命名空间

System.Web.Script.Services 命名空间提供一些用于自定义 Web 服务支持的特性,以便使用 ASP.NET 中的 AJAX 功能。 The System.Web.Script.Services namespace provides attributes that let you customize Web service support for AJAX functionality in ASP.NET.

GenerateScriptTypeAttribute

指定服务器类型必须在代理对象中生成。Specifies that the server type must be generated in the proxy object. 此类不能被继承。This class cannot be inherited.

ProxyGenerator

表示代理代码生成器。Represents a proxy code generator.

ScriptMethodAttribute

指定用于调用方法的 HTTP 谓词以及响应的格式。Specifies which HTTP verb is used to invoke a method, and the format of the response. 此类不能被继承。This class cannot be inherited.

ScriptServiceAttribute

指示某个 Web 服务可从脚本调用。Indicates that a Web service can be invoked from script. 此类不能被继承。This class cannot be inherited.

枚举

ResponseFormat

指定如何对 Web 方法返回类型进行序列化。Specifies how the Web method return-type is serialized.