XmlReflectionImporter Class

 
Use BaseTrue

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

Generates mappings to XML schema element declarations, including literal XML Schema Definition (XSD) message parts in a Web Services Description Language (WSDL) document, for .NET Framework types or Web service method information.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

System.Object
  System.Xml.Serialization.XmlReflectionImporter

public class XmlReflectionImporter

NameDescription
System_CAPS_pubmethodXmlReflectionImporter()

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlReflectionImporter class.

System_CAPS_pubmethodXmlReflectionImporter(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlReflectionImporter class using the specified default XML namespace.

System_CAPS_pubmethodXmlReflectionImporter(XmlAttributeOverrides)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlReflectionImporter class using the specified XML serialization overrides.

System_CAPS_pubmethodXmlReflectionImporter(XmlAttributeOverrides, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlReflectionImporter class using the specified XML serialization overrides and default XML namespace.

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_pubmethodImportMembersMapping(String, String, XmlReflectionMember[], Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mappings for information from a Web service method.

System_CAPS_pubmethodImportMembersMapping(String, String, XmlReflectionMember[], Boolean, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns internal type mappings using information from a Web service method, and allows you to specify an XML element name, XML namespace, and other options.

System_CAPS_pubmethodImportMembersMapping(String, String, XmlReflectionMember[], Boolean, Boolean, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns internal type mappings using information from a Web service method, and allows you to specify an XML element name, XML namespace, and other options.

System_CAPS_pubmethodImportMembersMapping(String, String, XmlReflectionMember[], Boolean, Boolean, Boolean, XmlMappingAccess)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mappings for information from a Web service method.

System_CAPS_pubmethodImportTypeMapping(Type)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates a mapping to an XML Schema element for a specified .NET Framework type.

System_CAPS_pubmethodImportTypeMapping(Type, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates a mapping to an XML Schema element for a .NET Framework type, using the specified type and namespace.

System_CAPS_pubmethodImportTypeMapping(Type, XmlRootAttribute)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates a mapping to an XML Schema element for a .NET Framework type, using the specified type and attribute.

System_CAPS_pubmethodImportTypeMapping(Type, XmlRootAttribute, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates a mapping to an XML Schema element for a .NET Framework type, using the specified type, attribute, and namespace.

System_CAPS_pubmethodIncludeType(Type)

This API supports the product infrastructure and is not intended to be used directly from your code. Includes mappings for a type for later use when import methods are invoked.

System_CAPS_pubmethodIncludeTypes(ICustomAttributeProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. Includes mappings for derived types for later use when import methods are invoked.

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 XmlReflectionImporter class is not used directly. Instead, it is used as follows:

  • By the ServiceDescriptionReflector class while it creates ServiceDescription objects from classes that are identified as Web services.

  • By a Web service or client, including during initialization.

  • To initialize an XmlSerializer object.

  • By the XML Schema Definition tool (Xsd.exe) while the tool generates XML schemas from types in a run-time assembly file.

  • By the Web Services Description Language tool (Wsdl.exe) while the tool generates client proxy classes or abstract server classes from a WSDL document.

The XmlReflectionImporter class is used for Web services when a service or client specifies:

  • Literal use, which indicates that the contents of SOAP message parameters and return values (or request and response documents) are literally specified with XML schema definitions.

  • Non-SOAP implementations of Web services using the HTTP-GET and HTTP-POST operations.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.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: