System.Runtime.Remoting.Metadata 命名空间

System.Runtime.Remoting.Metadata 命名空间包含类和属性,这些类和属性可用于自定义对象和字段的 SOAP 的生成和处理。 The System.Runtime.Remoting.Metadata namespace contains classes and attributes that can be used to customize generation and processing of SOAP for objects and fields. 该命名空间的类可用于指示 SOAPAction 标头字段、类型输出、XML 元素名称和方法 XML 命名空间 URI。 The classes of this namespace can be used to indicate the SOAPAction header field, type output, XML element name, and the method XML namespace URI. 在 SOAP 生成期间,该信息由 SOAP 序列化程序使用;而在 Web Services 描述语言 (WSDL) 生成期间,该信息由 Soapsuds 工具 (Soapsuds.exe) 使用。 This information is used by the SOAP serializer during SOAP generation and the Soapsuds Tool (Soapsuds.exe) during Web Services Description Language (WSDL) generation. 由该命名空间中的特性指定的信息可在生成的 SOAP 的接收端使用,以自定义远程方法调用和对象的处理。 The information specified by the attributes in this namespace can be used on the receiving end of the generated SOAP to customize processing of the remoted method calls and objects. System.Runtime.Remoting.Metadata 命名空间最重要的类之一是 SoapAttribute 类。 One of the most important classes of the System.Runtime.Remoting.Metadata namespace is SoapAttribute class. SoapAttribute 类是非功能性的,并且只能用作所有元数据属性的基类。 The SoapAttribute class is nonfunctional, and can only be used as the base class for all the metadata attributes.

SoapAttribute

提供所有 SOAP 特性的默认功能。Provides default functionality for all SOAP attributes.

SoapFieldAttribute

自定义字段的 SOAP 生成和处理。Customizes SOAP generation and processing for a field. 此类不能被继承。This class cannot be inherited.

SoapMethodAttribute

自定义方法的 SOAP 生成和处理。Customizes SOAP generation and processing for a method. 此类不能被继承。This class cannot be inherited.

SoapParameterAttribute

自定义参数的 SOAP 生成和处理。Customizes SOAP generation and processing for a parameter. 此类不能被继承。This class cannot be inherited.

SoapTypeAttribute

自定义目标类型的 SOAP 生成和处理。Customizes SOAP generation and processing for target types. 此类不能被继承。This class cannot be inherited.

枚举

SoapOption

指定与 SoapTypeAttribute 类一起使用的 SOAP 配置选项。Specifies the SOAP configuration options for use with the SoapTypeAttribute class.

XmlFieldOrderOption

不应使用此枚举,它不由 .NET Framework 远程处理基础结构使用。You should not use this enumeration; it is not used by the .NET Framework remoting infrastructure.

注解

有关 SOAPAction HTTP 标头字段的详细信息,请参阅SOAPAction HTTP 标头字段W3C 规范的节。For more information on the SOAPAction HTTP header field, see The SOAPAction HTTP Header Field section of the W3C specification.