XmlSerializerImportOptions Class

 

Contains information needed to perform schema importation using the XmlSerializer and ServiceDescriptionImporter infrastructure.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.ServiceModel.Channels.XmlSerializerImportOptions

public class XmlSerializerImportOptions

NameDescription
System_CAPS_pubmethodXmlSerializerImportOptions()

Initializes a new instance of the XmlSerializerImportOptions class.

System_CAPS_pubmethodXmlSerializerImportOptions(CodeCompileUnit)

Initializes a new instance of the XmlSerializerImportOptions class with the specified CodeCompileUnit.

NameDescription
System_CAPS_pubpropertyClrNamespace

Gets or sets the ClrNamespace property that contains the types being mapped to the XML namespace.

System_CAPS_pubpropertyCodeCompileUnit

Gets the CodeCompileUnit object that provides a container for the System.CodeDom program graph.

System_CAPS_pubpropertyCodeProvider

Gets or sets a CodeDomProvider object that checks whether particular options for a target language are supported.

System_CAPS_pubpropertyWebReferenceOptions

Gets or sets the WebReferenceOptions object that contains the code generation options specified in the XML text file.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The XmlSerializerImportOptions is used by the XmlSerializerMessageContractImporter. It is also used with the ServiceModel Metadata Utility Tool (Svcutil.exe) with the /useXmlSerializer (/uxs) switch.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: