共用方式為


<soapInterop> Element

Contains type mappings used with SOAP.

<configuration>
   <system.runtime.remoting>
      <application>
         <soapInterop>

<soapInterop>
   <preLoad>
   <interopXmlElement>
   <interopXmlType>
</soapInterop>

Child Elements

Element Description
<preLoad> Specifies the type to load for the mappings from types that extend SoapAttribute. Can occur one or more times in the <soapInterop> element.
<interopXmlElement> Creates a bidirectional map between a common language runtime type and an XML element and XML namespace. Occurs one or more times in the <soapInterop> element.
<interopXmlType> Creates a bidirectional map between a common language runtime type and an XML element and XML namespace when the element name cannot be changed. Occurs once in the <soapInterop> element.

Requirements

Configuration Files: Application configuration file, machine configuration file (Machine.config)

See Also

Remoting Settings Schema