Soap12BodyBinding 类

定义

表示当 XML Web services 支持 SOAP 协议 1.2 版时应用于 InputBindingOutputBinding 的服务说明格式扩展。Represents a service description format extension applied to an InputBinding or an OutputBinding when an XML Web service supports the SOAP protocol version 1.2. 此类不能被继承。This class cannot be inherited.

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>This class specifies how messages, either abstract type definitions or concrete schema definitions, appear within the <Body> element of a SOAP message.

有关为 XML Web services 指定协议的详细信息,请参阅使用 ASP.NET 的 Xml Web servicesFor more information about specifying protocols for XML Web services, see XML Web Services Using ASP.NET. 有关 Web Services 描述语言 (WSDL) 的详细信息,请参阅wsdl规范。For more information about Web Services Description Language (WSDL), see the WSDL specification.

构造函数

Soap12BodyBinding()

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

属性

Encoding

获取或设置一个字符串,该字符串包含由空格分隔的 URI 的列表。Gets or sets a string containing a list of space-delimited URIs. 这些 URI 表示用来对 SOAP 体中的消息进行编码的编码样式。The URIs represent the encoding style (or styles) to be used to encode messages within the SOAP body.

(继承自 SoapBodyBinding)
Handled

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

(继承自 ServiceDescriptionFormatExtension)
Namespace

获取或设置一个 URI,该 URI 表示 Encoding 属性未具体定义的内容编码规范的位置。Get or sets the URI representing the location of the specifications for encoding of content not specifically defined by the Encoding property.

(继承自 SoapBodyBinding)
Parent

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

(继承自 ServiceDescriptionFormatExtension)
Parts

获取或设置一个值,该值指示传输的消息的哪些部分出现在该传输的 SOAP 体部分。Gets or sets a value indicating which parts of the transmitted message appear within the SOAP body portion of the transmission.

(继承自 SoapBodyBinding)
PartsString

获取或设置一个值,该值指示传输的消息的哪些部分出现在该传输的 SOAP 体部分。Gets or sets a value indicating which parts of the transmitted message appear within the SOAP body portion of the transmission.

(继承自 SoapBodyBinding)
Required

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

(继承自 ServiceDescriptionFormatExtension)
Use

指示消息部分是使用指定的编码规则进行编码还是定义消息的具体架构。Indicates whether the message parts are encoded using specified encoding rules, or define the concrete schema of the message.

(继承自 SoapBodyBinding)

方法

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)

适用于

另请参阅