Soap12Binding 类

定义

表示 Web 服务描述语言 (WSDL) 文档中到 SOAP 协议 1.2 版的绑定。Represents a binding in a Web Services Description Language (WSDL) document to the SOAP version 1.2 protocol. 此类不能被继承。This class cannot be inherited.

public ref class Soap12Binding sealed : System::Web::Services::Description::SoapBinding
[System.Web.Services.Configuration.XmlFormatExtension("binding", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.Binding))]
[System.Web.Services.Configuration.XmlFormatExtensionPrefix("soap12", "http://schemas.xmlsoap.org/wsdl/soap12/")]
public sealed class Soap12Binding : System.Web.Services.Description.SoapBinding
[<System.Web.Services.Configuration.XmlFormatExtension("binding", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.Binding))>]
[<System.Web.Services.Configuration.XmlFormatExtensionPrefix("soap12", "http://schemas.xmlsoap.org/wsdl/soap12/")>]
type Soap12Binding = class
    inherit SoapBinding
Public NotInheritable Class Soap12Binding
Inherits SoapBinding
继承
属性

注解

此类表示添加到 WSDL 文档中的 XML,说明 XML Web service 支持使用 SOAP 协议版本1.2 进行通信。This class represents the XML added to a WSDL document stating that an XML Web service supports communication using the SOAP protocol version 1.2.

.NET Framework 版本1.0 不支持此类。This class is not supported in the .NET Framework version 1.0.

构造函数

Soap12Binding()

初始化 Soap12Binding 类的新实例。Initializes a new instance of the Soap12Binding class.

字段

HttpTransport

表示用于 SOAP 消息的传输协议是 HTTP。Represents the transport protocol for the SOAP message is HTTP. 此字段为常数。This field is constant.

Namespace

表示到 SOAP 协议 1.2 版的绑定的 XML 命名空间。Represents the XML namespace of a binding to the SOAP protocol version 1.2. 此字段为常数。This field is constant.

属性

Handled

获取或设置一个值,该值指示当导入扩展性元素时,导入进程是否使用 ServiceDescriptionFormatExtensionGets or sets a value indicating whether the ServiceDescriptionFormatExtension is used by the import process when the extensibility element is imported.

(继承自 ServiceDescriptionFormatExtension)
Parent

获取 ServiceDescriptionFormatExtension 的父级。Gets the parent of the ServiceDescriptionFormatExtension.

(继承自 ServiceDescriptionFormatExtension)
Required

获取或设置一个值,该值指示 ServiceDescriptionFormatExtension 是否是它所引用的操作所必需的。Gets or sets a value indicating whether the ServiceDescriptionFormatExtension is necessary for the action to which it refers.

(继承自 ServiceDescriptionFormatExtension)
Style

指定当前 SoapBinding 所使用的 SOAP 绑定的类型。Specifies the type of SOAP binding used by the current SoapBinding.

(继承自 SoapBinding)
Transport

获取或设置 SOAP 数据的 HTTP 传输规范的 URI。Gets or sets the URI with the specification for HTTP transmission of SOAP data.

(继承自 SoapBinding)

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于