SoapOption Enumeration

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Runtime.Remoting.Metadata
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
[FlagsAttribute]
[ComVisibleAttribute(true)]
public enum SoapOption

Member nameDescription
AlwaysIncludeTypes

This API supports the product infrastructure and is not intended to be used directly from your code. 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

This API supports the product infrastructure and is not intended to be used directly from your code. Indicates that SOAP will be generated without references. This option is currently not implemented.

None

This API supports the product infrastructure and is not intended to be used directly from your code. The default option indicating that no extra options are selected.

Option1

This API supports the product infrastructure and is not intended to be used directly from your code. Public reserved option for temporary interop conditions; the use will change.

Option2

This API supports the product infrastructure and is not intended to be used directly from your code. Public reserved option for temporary interop conditions; the use will change.

XsdString

This API supports the product infrastructure and is not intended to be used directly from your code. 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.

The SoapOption enumeration is used to specify instructions to the .NET Framework on how it will generate the SOAP.

.NET Framework
Available since 1.1
Return to top
Show: