System.Runtime.Remoting.Metadata.SoapOption Enumeration

Specifies the SOAP configuration options for use with the System.Runtime.Remoting.Metadata.SoapTypeAttribute class.

Syntax

[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
public enum SoapOption

Remarks

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

Members

Member NameDescription
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.

Requirements

Namespace: System.Runtime.Remoting.Metadata
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0