XmlSchemaImporter Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates internal mappings to .NET types for XML schema element declarations, including literal XSD message parts in a WSDL document.
This API supports the product infrastructure and is not intended to be used directly from your code.
public ref class XmlSchemaImporter : System::Xml::Serialization::SchemaImporter
public ref class XmlSchemaImporter
public class XmlSchemaImporter : System.Xml.Serialization.SchemaImporter
public class XmlSchemaImporter
type XmlSchemaImporter = class
inherit SchemaImporter
type XmlSchemaImporter = class
Public Class XmlSchemaImporter
Inherits SchemaImporter
Public Class XmlSchemaImporter
- Inheritance
- Inheritance
-
XmlSchemaImporter
The XmlSchemaImporter class is used by the Web Services Description Language Tool (Wsdl.exe) and the ServiceDescriptionImporter class while generating client proxy classes or abstract server classes from a Web Services Description Language (WSDL) document. The class is also used by the Web Services Description Language Tool (Wsdl.exe) while generating classes from XML Schema Definition (XSD) documents. Instead of using this class directly, use Wsdl.exe or Xsd.exe.
The XmlSchemaImporter class has methods to generate internal mappings to .NET types for elements defined in an XSD document or as parts in a WSDL document. The following list shows when the class is used by Wsdl.exe:
A WSDL document specifies literal use, where the content of SOAP message parameters and return values (or request and response documents) is literally specified with XML schema definitions.
A WSDL document specifies the .NET Framework's non-SOAP implementations of Web services via the HTTP-GET and HTTP-POST operations.
Xml |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlSchemaImporter class. |
Xml |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlSchemaImporter class for a collection of XML schemas, using the specified code generation options and import context. |
Xml |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlSchemaImporter class, taking a collection of XmlSchema objects that represents the XML schemas used by SOAP literal messages, plus classes being generated for bindings defined in a WSDL document, and a CodeGenerationOptions enumeration value. |
Xml |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlSchemaImporter class, taking a collection of XmlSchema objects that represents the XML schemas used by SOAP literal messages, plus classes being generated for bindings defined in a Web Services Description Language (WSDL) document. |
Xml |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlSchemaImporter class, taking a collection of XmlSchema objects representing the XML schemas used by SOAP literal messages defined in a WSDL document. |
Extensions |
Gets a collection of schema importer extensions. (Inherited from SchemaImporter) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Import |
This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for a single, (SOAP) literal element part defined in a WSDL document. |
Import |
This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for an element defined in an XML schema document or as a part in a WSDL document. |
Import |
This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for an element defined in an XML schema document. |
Import |
This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for the element parts of a literal-use SOAP message defined in a WSDL document. |
Import |
This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for a single element part of a literal-use SOAP message defined in a WSDL document. |
Import |
This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for the element parts of a literal-use SOAP message defined in a WSDL document. |
Import |
This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for the element parts of a literal-use SOAP message defined in a WSDL document. |
Import |
This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for an element defined in an XML schema document. |
Import |
This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for an element defined in an XML schema document. |
Import |
This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for an element defined in an XML schema document. |
Import |
This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for an element defined in an XML schema document. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Продукт | Версії |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: