Soap12BodyBinding 类

定义

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

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 services 指定协议的详细信息,请参阅 使用 ASP.NET 的 Xml Web services。 有关 Web Services 描述语言 (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)

适用于

另请参阅