HttpUrlEncodedBinding 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示添加到 XML Web services 中的 InputBinding 的扩展性元素。 此类不能被继承。
public ref class HttpUrlEncodedBinding sealed : System::Web::Services::Description::ServiceDescriptionFormatExtension
[System.Web.Services.Configuration.XmlFormatExtension("urlEncoded", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.InputBinding))]
public sealed class HttpUrlEncodedBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension
[<System.Web.Services.Configuration.XmlFormatExtension("urlEncoded", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.InputBinding))>]
type HttpUrlEncodedBinding = class
inherit ServiceDescriptionFormatExtension
Public NotInheritable Class HttpUrlEncodedBinding
Inherits ServiceDescriptionFormatExtension
- 继承
- 属性
注解
此类指定传入数据的格式为“name=value&name=value”,从 HTML 窗体编码,无论窗体的 Method 属性的值是 POST 还是 GET。
请注意,此编码派生自 HTML 的功能,并不特定于 HtmlForm 类,尽管 HtmlForm 类确实支持它。 有关为 XML Web 服务指定协议的详细信息,请参阅 XML Web Services Using ASP.NET。 有关 Web 服务描述语言 (WSDL) 的详细信息,请参阅 WSDL 规范。
构造函数
| HttpUrlEncodedBinding() |
初始化 HttpUrlEncodedBinding 类的新实例。 |
属性
| Handled |
获取或设置一个值,该值指示当导入扩展性元素时,导入进程是否使用 ServiceDescriptionFormatExtension。 (继承自 ServiceDescriptionFormatExtension) |
| Parent |
获取 ServiceDescriptionFormatExtension 的父级。 (继承自 ServiceDescriptionFormatExtension) |
| Required |
获取或设置一个值,该值指示 ServiceDescriptionFormatExtension 是否是它所引用的操作所必需的。 (继承自 ServiceDescriptionFormatExtension) |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。 (继承自 Object) |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。 (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。 (继承自 Object) |