XmlSchemaImporter Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy XmlSchemaImporter.
Przeciążenia
| Nazwa | Opis |
|---|---|
| XmlSchemaImporter(XmlSchemas) |
Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu. Inicjuje nowe wystąpienie XmlSchemaImporter klasy, przyjmując kolekcję XmlSchema obiektów reprezentujących schematy XML używane przez komunikaty literału SOAP zdefiniowane w dokumencie WSDL. |
| XmlSchemaImporter(XmlSchemas, CodeIdentifiers) |
Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu. Inicjuje nowe wystąpienie XmlSchemaImporter klasy, przyjmując kolekcję XmlSchema obiektów reprezentujących schematy XML używane przez komunikaty literału SOAP oraz klasy generowane dla powiązań zdefiniowanych w dokumencie WSDL (Web Services Description Language). |
| XmlSchemaImporter(XmlSchemas, CodeGenerationOptions, ImportContext) |
Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu. Inicjuje nowe wystąpienie XmlSchemaImporter klasy dla kolekcji schematów XML przy użyciu określonych opcji generowania kodu i kontekstu importu. |
| XmlSchemaImporter(XmlSchemas, CodeIdentifiers, CodeGenerationOptions) |
Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu. Inicjuje nowe wystąpienie XmlSchemaImporter klasy, przyjmując kolekcję XmlSchema obiektów reprezentujących schematy XML używane przez komunikaty literału SOAP oraz klasy generowane dla powiązań zdefiniowanych w dokumencie WSDL i CodeGenerationOptions wartość wyliczenia. |
| XmlSchemaImporter(XmlSchemas, CodeGenerationOptions, CodeDomProvider, ImportContext) |
Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu. Inicjuje nowe wystąpienie klasy XmlSchemaImporter. |
XmlSchemaImporter(XmlSchemas)
- Źródło:
- XmlSchemaImporter.cs
- Źródło:
- XmlSchemaImporter.cs
- Źródło:
- XmlSchemaImporter.cs
- Źródło:
- XmlSchemaImporter.cs
- Źródło:
- XmlSchemaImporter.cs
Inicjuje nowe wystąpienie XmlSchemaImporter klasy, przyjmując kolekcję XmlSchema obiektów reprezentujących schematy XML używane przez komunikaty literału SOAP zdefiniowane w dokumencie WSDL.
Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.
public:
XmlSchemaImporter(System::Xml::Serialization::XmlSchemas ^ schemas);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XML serializer relies on dynamic code generation which is not available with Ahead of Time compilation")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
public XmlSchemaImporter(System.Xml.Serialization.XmlSchemas schemas);
public XmlSchemaImporter(System.Xml.Serialization.XmlSchemas schemas);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
public XmlSchemaImporter(System.Xml.Serialization.XmlSchemas schemas);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XML serializer relies on dynamic code generation which is not available with Ahead of Time compilation")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
new System.Xml.Serialization.XmlSchemaImporter : System.Xml.Serialization.XmlSchemas -> System.Xml.Serialization.XmlSchemaImporter
new System.Xml.Serialization.XmlSchemaImporter : System.Xml.Serialization.XmlSchemas -> System.Xml.Serialization.XmlSchemaImporter
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
new System.Xml.Serialization.XmlSchemaImporter : System.Xml.Serialization.XmlSchemas -> System.Xml.Serialization.XmlSchemaImporter
Public Sub New (schemas As XmlSchemas)
Parametry
- schemas
- XmlSchemas
Kolekcja XmlSchema obiektów.
- Atrybuty
Uwagi
Użyj tego konstruktora, gdy dokument WSDL określa, że dane są serializowane zgodnie ze schematem (<soap:body use = 'literał' />).
Zamiast bezpośrednio tworzyć wystąpienie XmlSchemaImporter klasy, użyj Wsdl.exe lub Xsd.exe.
Dotyczy
XmlSchemaImporter(XmlSchemas, CodeIdentifiers)
- Źródło:
- XmlSchemaImporter.cs
- Źródło:
- XmlSchemaImporter.cs
- Źródło:
- XmlSchemaImporter.cs
- Źródło:
- XmlSchemaImporter.cs
- Źródło:
- XmlSchemaImporter.cs
Inicjuje nowe wystąpienie XmlSchemaImporter klasy, przyjmując kolekcję XmlSchema obiektów reprezentujących schematy XML używane przez komunikaty literału SOAP oraz klasy generowane dla powiązań zdefiniowanych w dokumencie WSDL (Web Services Description Language).
Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.
public:
XmlSchemaImporter(System::Xml::Serialization::XmlSchemas ^ schemas, System::Xml::Serialization::CodeIdentifiers ^ typeIdentifiers);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XML serializer relies on dynamic code generation which is not available with Ahead of Time compilation")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
public XmlSchemaImporter(System.Xml.Serialization.XmlSchemas schemas, System.Xml.Serialization.CodeIdentifiers? typeIdentifiers);
public XmlSchemaImporter(System.Xml.Serialization.XmlSchemas schemas, System.Xml.Serialization.CodeIdentifiers? typeIdentifiers);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
public XmlSchemaImporter(System.Xml.Serialization.XmlSchemas schemas, System.Xml.Serialization.CodeIdentifiers? typeIdentifiers);
public XmlSchemaImporter(System.Xml.Serialization.XmlSchemas schemas, System.Xml.Serialization.CodeIdentifiers typeIdentifiers);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XML serializer relies on dynamic code generation which is not available with Ahead of Time compilation")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
new System.Xml.Serialization.XmlSchemaImporter : System.Xml.Serialization.XmlSchemas * System.Xml.Serialization.CodeIdentifiers -> System.Xml.Serialization.XmlSchemaImporter
new System.Xml.Serialization.XmlSchemaImporter : System.Xml.Serialization.XmlSchemas * System.Xml.Serialization.CodeIdentifiers -> System.Xml.Serialization.XmlSchemaImporter
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
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)
Parametry
- schemas
- XmlSchemas
Obiekt XmlSchemas.
- typeIdentifiers
- CodeIdentifiers
CodeIdentifiers Obiekt określający kolekcję klas generowanych dla powiązań zdefiniowanych w dokumencie WSDL.
- Atrybuty
Uwagi
Użyj tego konstruktora, gdy dokument WSDL określa, że dane są serializowane zgodnie ze schematem (<soap:body use = 'literał' />).
Zamiast bezpośrednio tworzyć wystąpienie XmlSchemaImporter klasy, użyj Wsdl.exe lub Xsd.exe.
Dotyczy
XmlSchemaImporter(XmlSchemas, CodeGenerationOptions, ImportContext)
Inicjuje nowe wystąpienie XmlSchemaImporter klasy dla kolekcji schematów XML przy użyciu określonych opcji generowania kodu i kontekstu importu.
Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.
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)
Parametry
- schemas
- XmlSchemas
Kolekcja XmlSchema obiektów.
- options
- CodeGenerationOptions
Wyliczenie CodeGenerationOptions określające opcje generowania kodu.
- context
- ImportContext
ImportContext Wystąpienie, które określa kontekst importu.
Dotyczy
XmlSchemaImporter(XmlSchemas, CodeIdentifiers, CodeGenerationOptions)
Inicjuje nowe wystąpienie XmlSchemaImporter klasy, przyjmując kolekcję XmlSchema obiektów reprezentujących schematy XML używane przez komunikaty literału SOAP oraz klasy generowane dla powiązań zdefiniowanych w dokumencie WSDL i CodeGenerationOptions wartość wyliczenia.
Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.
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)
Parametry
- schemas
- XmlSchemas
Kolekcja XmlSchema obiektów.
- typeIdentifiers
- CodeIdentifiers
CodeIdentifiers Obiekt określający kolekcję klas generowanych dla powiązań zdefiniowanych w dokumencie WSDL.
- options
- CodeGenerationOptions
Bitowa kombinacja wartości CodeGenerationOptions, która określa opcje do użycia podczas generowania typów .NET dla usługi sieci Web.
Uwagi
Użyj tego konstruktora, gdy dokument WSDL określa, że dane są serializowane zgodnie ze schematem (<soap:body use = 'literał' />).
Zamiast bezpośrednio tworzyć wystąpienie XmlSchemaImporter klasy, użyj Wsdl.exe lub Xsd.exe.
Dotyczy
XmlSchemaImporter(XmlSchemas, CodeGenerationOptions, CodeDomProvider, ImportContext)
Inicjuje nowe wystąpienie klasy XmlSchemaImporter.
Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.
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)
Parametry
- schemas
- XmlSchemas
Kolekcja XmlSchema obiektów.
- options
- CodeGenerationOptions
Bitowa kombinacja wartości CodeGenerationOptions, która określa opcje do użycia podczas generowania typów .NET dla usługi sieci Web.
- codeProvider
- CodeDomProvider
Element CodeDomProvider służący do generowania kodu serializacji.
- context
- ImportContext
ImportContext Wystąpienie, które określa kontekst importu.