HttpOperationBinding 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示添加到 XML Web services 中的 OperationBinding 的扩展性元素。 此类不能被继承。
public ref class HttpOperationBinding sealed : System::Web::Services::Description::ServiceDescriptionFormatExtension[System.Web.Services.Configuration.XmlFormatExtension("operation", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.OperationBinding))]
public sealed class HttpOperationBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension[<System.Web.Services.Configuration.XmlFormatExtension("operation", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.OperationBinding))>]
type HttpOperationBinding = class
    inherit ServiceDescriptionFormatExtensionPublic NotInheritable Class HttpOperationBinding
Inherits ServiceDescriptionFormatExtension- 继承
- 属性
注解
此类表示特定于 HTTP 的 Web 服务描述语言 (WSDL) 中的扩展性元素。 它指定操作的相对 URL,使用 作为 由 HttpAddressBinding指定的位置的基础。 有关为 XML Web 服务指定协议的详细信息,请参阅 XML Web Services Using ASP.NET。 有关 WSDL 的更多信息,请参阅 WSDL 规范。
构造函数
| HttpOperationBinding() | 初始化 HttpOperationBinding 类的新实例。 | 
属性
| Handled | 获取或设置一个值,该值指示当导入扩展性元素时,导入进程是否使用 ServiceDescriptionFormatExtension。(继承自 ServiceDescriptionFormatExtension) | 
| Location | 获取或设置 HttpAddressBinding 所支持的操作的 URL,该 URL 相对于由 HttpOperationBinding 在 Web 服务描述语言 (WSDL) 文档中指定的位置。 | 
| Parent | 获取 ServiceDescriptionFormatExtension 的父级。(继承自 ServiceDescriptionFormatExtension) | 
| Required | 获取或设置一个值,该值指示 ServiceDescriptionFormatExtension 是否是它所引用的操作所必需的。(继承自 ServiceDescriptionFormatExtension) | 
方法
| Equals(Object) | 确定指定对象是否等于当前对象。(继承自 Object) | 
| GetHashCode() | 作为默认哈希函数。(继承自 Object) | 
| GetType() | 获取当前实例的 Type。(继承自 Object) | 
| MemberwiseClone() | 创建当前 Object 的浅表副本。(继承自 Object) | 
| ToString() | 返回表示当前对象的字符串。(继承自 Object) |