SoapOption Enumeration
.NET Framework 2.0
Specifies the SOAP configuration options for use with the SoapTypeAttribute class.
Assembly: mscorlib (in mscorlib.dll)
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Runtime.Remoting.MetadataAssembly: mscorlib (in mscorlib.dll)
'Declaration <SerializableAttribute> _ <ComVisibleAttribute(True)> _ <FlagsAttribute> _ Public Enumeration SoapOption 'Usage Dim instance As SoapOption
/** @attribute SerializableAttribute() */ /** @attribute ComVisibleAttribute(true) */ /** @attribute FlagsAttribute() */ public enum SoapOption
SerializableAttribute ComVisibleAttribute(true) FlagsAttribute public enum SoapOption
| Member name | Description | |
|---|---|---|
| AlwaysIncludeTypes | Indicates that type will always be included on SOAP elements. This option is useful when performing SOAP interop with SOAP implementations that require types on all elements. | |
| EmbedAll | Indicates that SOAP will be generated without references. This option is currently not implemented. | |
| None | The default option indicating that no extra options are selected. | |
| Option1 | Public reserved option for temporary interop conditions; the use will change. | |
| Option2 | Public reserved option for temporary interop conditions; the use will change. | |
| XsdString | Indicates that the output SOAP string type in a SOAP Envelope is using the XSD prefix, and that the resulting XML does not have an ID attribute for the string. For example, while a class by default might be remoted in the SOAP format as <member1>10</member1> <member2 id="ref-3">hello</member2> <member3 href="#ref-3"/> <member4 href="#ref-4"/> <member4shared href="#ref-4"/> <member5 href="#ref-5"/> <member6 id="ref-6" xsi:type="SOAP-ENC:string">Hello World</member6> <str1 id="ref-7">hello < world</str1> <str2 id="ref-8"><</str2> <str3 id="ref-9">< world</str3> <str4 href="#ref-7"/> remoting serialization with the XsdString option would produce the following XML. <member1 xsi:type="xsd:int">10</member1> <member2 xsi:type="xsd:string">hello</member2> <member3 xsi:type="xsd:string">hello</member3> <member4 href="#ref-3"/> <member4shared href="#ref-3"/> <member5 href="#ref-4"/> <member6 xsi:type="xsd:string">Hello World</member6> <str1 xsi:type="xsd:string">hello < world</str1> <str2 xsi:type="xsd:string"><</str2> <str3 xsi:type="xsd:string">< world</str3> <str4 xsi:type="xsd:string">hello < world</str4> For more information about SOAP envelopes, see www.w3.org/tr/soap/#_Toc478383494. |
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: