Soap12BodyBinding 类

定义

表示应用于 InputBinding XML OutputBinding Web 服务支持 SOAP 协议版本 1.2 时的服务说明格式扩展。 此类不能被继承。

public ref class Soap12BodyBinding sealed : System::Web::Services::Description::SoapBodyBinding
[System.Web.Services.Configuration.XmlFormatExtension("body", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding), typeof(System.Web.Services.Description.MimePart))]
public sealed class Soap12BodyBinding : System.Web.Services.Description.SoapBodyBinding
[<System.Web.Services.Configuration.XmlFormatExtension("body", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding), typeof(System.Web.Services.Description.MimePart))>]
type Soap12BodyBinding = class
    inherit SoapBodyBinding
Public NotInheritable Class Soap12BodyBinding
Inherits SoapBodyBinding
继承
属性

注解

此类指定消息(抽象类型定义或具体架构定义)在 SOAP 消息的元素中 <Body> 如何显示。

有关为 XML Web 服务指定协议的详细信息,请参阅 XML Web Services Using ASP.NET。 有关 Web 服务描述语言(WSDL)的详细信息,请参阅 WSDL 规范。

构造函数

名称 说明
Soap12BodyBinding()

初始化 Soap12BodyBinding 类的新实例。

属性

名称 说明
Encoding

获取或设置包含以空格分隔的 URI 列表的字符串。 URI 表示用于对 SOAP 正文中的消息进行编码的编码样式(或样式)。

(继承自 SoapBodyBinding)
Handled

获取或设置一个值,该值指示导入过程在导入扩展性元素时是否 ServiceDescriptionFormatExtension 使用。

(继承自 ServiceDescriptionFormatExtension)
Namespace

获取或设置 URI,该 URI 表示属性未专门定义的 Encoding 内容的编码规范的位置。

(继承自 SoapBodyBinding)
Parent

获取 . 的 ServiceDescriptionFormatExtension父级。

(继承自 ServiceDescriptionFormatExtension)
Parts

获取或设置一个值,该值指示传输的消息的哪些部分出现在传输的 SOAP 正文部分中。

(继承自 SoapBodyBinding)
PartsString

获取或设置一个值,该值指示传输的消息的哪些部分出现在传输的 SOAP 正文部分中。

(继承自 SoapBodyBinding)
Required

获取或设置一个值,该值指示它引用的操作是否 ServiceDescriptionFormatExtension 必要。

(继承自 ServiceDescriptionFormatExtension)
Use

指示消息部件是使用指定的编码规则进行编码,还是定义消息的具体架构。

(继承自 SoapBodyBinding)

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅