Επεξεργασία

Κοινή χρήση μέσω


System.Runtime.Remoting.Metadata Namespace

Contains classes and attributes that can be used to customize generation and processing of SOAP for objects and fields. 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. This information is used by the SOAP serializer during SOAP generation and the Soapsuds Tool (Soapsuds.exe) during Web Services Description Language (WSDL) generation. 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. One of the most important classes of the System.Runtime.Remoting.Metadata namespace is SoapAttribute class. The SoapAttribute class is nonfunctional, and can only be used as the base class for all the metadata attributes.

Classes

SoapAttribute

Provides default functionality for all SOAP attributes.

SoapFieldAttribute

Customizes SOAP generation and processing for a field. This class cannot be inherited.

SoapMethodAttribute

Customizes SOAP generation and processing for a method. This class cannot be inherited.

SoapParameterAttribute

Customizes SOAP generation and processing for a parameter. This class cannot be inherited.

SoapTypeAttribute

Customizes SOAP generation and processing for target types. This class cannot be inherited.

Enums

SoapOption

Specifies the SOAP configuration options for use with the SoapTypeAttribute class.

XmlFieldOrderOption

You should not use this enumeration; it is not used by the .NET Framework remoting infrastructure.

Remarks

For more information on the SOAPAction HTTP header field, see The SOAPAction HTTP Header Field section of the W3C specification.