Bewerken

Share via


XmlSchemaImporter Constructors

Definition

Initializes a new instance of the XmlSchemaImporter class.

Overloads

XmlSchemaImporter(XmlSchemas)

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.

XmlSchemaImporter(XmlSchemas, CodeIdentifiers)

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.

XmlSchemaImporter(XmlSchemas, CodeGenerationOptions, ImportContext)

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.

XmlSchemaImporter(XmlSchemas, CodeIdentifiers, CodeGenerationOptions)

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.

XmlSchemaImporter(XmlSchemas, CodeGenerationOptions, CodeDomProvider, ImportContext)

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.

XmlSchemaImporter(XmlSchemas)

Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs

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.

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

public:
 XmlSchemaImporter(System::Xml::Serialization::XmlSchemas ^ schemas);
public XmlSchemaImporter (System.Xml.Serialization.XmlSchemas schemas);
new System.Xml.Serialization.XmlSchemaImporter : System.Xml.Serialization.XmlSchemas -> System.Xml.Serialization.XmlSchemaImporter
Public Sub New (schemas As XmlSchemas)

Parameters

schemas
XmlSchemas

A collection of XmlSchema objects.

Remarks

Use this constructor when a WSDL document specifies that the data is serialized according to a schema (<soap:body use = 'literal' />).

Instead of directly creating an instance of the XmlSchemaImporter class, use Wsdl.exe or Xsd.exe.

Applies to

XmlSchemaImporter(XmlSchemas, CodeIdentifiers)

Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs

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.

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

public:
 XmlSchemaImporter(System::Xml::Serialization::XmlSchemas ^ schemas, System::Xml::Serialization::CodeIdentifiers ^ typeIdentifiers);
public XmlSchemaImporter (System.Xml.Serialization.XmlSchemas schemas, System.Xml.Serialization.CodeIdentifiers? typeIdentifiers);
public XmlSchemaImporter (System.Xml.Serialization.XmlSchemas schemas, System.Xml.Serialization.CodeIdentifiers typeIdentifiers);
new System.Xml.Serialization.XmlSchemaImporter : System.Xml.Serialization.XmlSchemas * System.Xml.Serialization.CodeIdentifiers -> System.Xml.Serialization.XmlSchemaImporter
Public Sub New (schemas As XmlSchemas, typeIdentifiers As CodeIdentifiers)

Parameters

schemas
XmlSchemas

An XmlSchemas object.

typeIdentifiers
CodeIdentifiers

A CodeIdentifiers object that specifies a collection of classes being generated for bindings defined in a WSDL document.

Remarks

Use this constructor when a WSDL document specifies that the data is serialized according to a schema (<soap:body use = 'literal' />).

Instead of directly creating an instance of the XmlSchemaImporter class, use Wsdl.exe or Xsd.exe.

Applies to

XmlSchemaImporter(XmlSchemas, CodeGenerationOptions, ImportContext)

Initializes a new instance of the XmlSchemaImporter class for a collection of XML schemas, using the specified code generation options and import context.

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

public:
 XmlSchemaImporter(System::Xml::Serialization::XmlSchemas ^ schemas, System::Xml::Serialization::CodeGenerationOptions options, System::Xml::Serialization::ImportContext ^ context);
public XmlSchemaImporter (System.Xml.Serialization.XmlSchemas schemas, System.Xml.Serialization.CodeGenerationOptions options, System.Xml.Serialization.ImportContext context);
new System.Xml.Serialization.XmlSchemaImporter : System.Xml.Serialization.XmlSchemas * System.Xml.Serialization.CodeGenerationOptions * System.Xml.Serialization.ImportContext -> System.Xml.Serialization.XmlSchemaImporter
Public Sub New (schemas As XmlSchemas, options As CodeGenerationOptions, context As ImportContext)

Parameters

schemas
XmlSchemas

A collection of XmlSchema objects.

options
CodeGenerationOptions

A CodeGenerationOptions enumeration that specifies code generation options.

context
ImportContext

A ImportContext instance that specifies the import context.

Applies to

XmlSchemaImporter(XmlSchemas, CodeIdentifiers, CodeGenerationOptions)

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.

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

public:
 XmlSchemaImporter(System::Xml::Serialization::XmlSchemas ^ schemas, System::Xml::Serialization::CodeIdentifiers ^ typeIdentifiers, System::Xml::Serialization::CodeGenerationOptions options);
public XmlSchemaImporter (System.Xml.Serialization.XmlSchemas schemas, System.Xml.Serialization.CodeIdentifiers typeIdentifiers, System.Xml.Serialization.CodeGenerationOptions options);
new System.Xml.Serialization.XmlSchemaImporter : System.Xml.Serialization.XmlSchemas * System.Xml.Serialization.CodeIdentifiers * System.Xml.Serialization.CodeGenerationOptions -> System.Xml.Serialization.XmlSchemaImporter
Public Sub New (schemas As XmlSchemas, typeIdentifiers As CodeIdentifiers, options As CodeGenerationOptions)

Parameters

schemas
XmlSchemas

A collection of XmlSchema objects.

typeIdentifiers
CodeIdentifiers

A CodeIdentifiers object that specifies a collection of classes being generated for bindings defined in a WSDL document.

options
CodeGenerationOptions

A bitwise combination of the CodeGenerationOptions values that specifies the options to use when generating .NET Framework types for a Web service.

Remarks

Use this constructor when a WSDL document specifies that the data is serialized according to a schema (<soap:body use = 'literal' />).

Instead of directly creating an instance of the XmlSchemaImporter class, use Wsdl.exe or Xsd.exe.

Applies to

XmlSchemaImporter(XmlSchemas, CodeGenerationOptions, CodeDomProvider, ImportContext)

Initializes a new instance of the XmlSchemaImporter class.

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

public:
 XmlSchemaImporter(System::Xml::Serialization::XmlSchemas ^ schemas, System::Xml::Serialization::CodeGenerationOptions options, System::CodeDom::Compiler::CodeDomProvider ^ codeProvider, System::Xml::Serialization::ImportContext ^ context);
public XmlSchemaImporter (System.Xml.Serialization.XmlSchemas schemas, System.Xml.Serialization.CodeGenerationOptions options, System.CodeDom.Compiler.CodeDomProvider codeProvider, System.Xml.Serialization.ImportContext context);
new System.Xml.Serialization.XmlSchemaImporter : System.Xml.Serialization.XmlSchemas * System.Xml.Serialization.CodeGenerationOptions * System.CodeDom.Compiler.CodeDomProvider * System.Xml.Serialization.ImportContext -> System.Xml.Serialization.XmlSchemaImporter
Public Sub New (schemas As XmlSchemas, options As CodeGenerationOptions, codeProvider As CodeDomProvider, context As ImportContext)

Parameters

schemas
XmlSchemas

A collection of XmlSchema objects.

options
CodeGenerationOptions

A bitwise combination of the CodeGenerationOptions values that specifies the options to use when generating .NET Framework types for a Web service.

codeProvider
CodeDomProvider

A CodeDomProvider used to generate the serialization code.

context
ImportContext

A ImportContext instance that specifies the import context.

Applies to