SoapCodeExporter Constructors
Definition
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.
Initializes a new instance of the SoapCodeExporter class.
Overloads
SoapCodeExporter(CodeNamespace) |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the SoapCodeExporter class, assuming no code compile unit. |
SoapCodeExporter(CodeNamespace, CodeCompileUnit) |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the SoapCodeExporter class, specifying a code compile unit parameter in addition to a namespace parameter. |
SoapCodeExporter(CodeNamespace, CodeCompileUnit, CodeGenerationOptions) |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the SoapCodeExporter class, specifying a code namespace, a code compile unit, and code generation options. |
SoapCodeExporter(CodeNamespace, CodeCompileUnit, CodeGenerationOptions, Hashtable) |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the SoapCodeExporter class, specifying a code namespace, a code compile unit, code generation options, and mappings. |
SoapCodeExporter(CodeNamespace, CodeCompileUnit, CodeDomProvider, CodeGenerationOptions, Hashtable) |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the SoapCodeExporter class, specifying a code namespace, a code compile unit, a code generator, code generation options, and mappings. |
SoapCodeExporter(CodeNamespace)
Initializes a new instance of the SoapCodeExporter class, assuming no code compile unit.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
SoapCodeExporter(System::CodeDom::CodeNamespace ^ codeNamespace);
public SoapCodeExporter (System.CodeDom.CodeNamespace codeNamespace);
new System.Xml.Serialization.SoapCodeExporter : System.CodeDom.CodeNamespace -> System.Xml.Serialization.SoapCodeExporter
Public Sub New (codeNamespace As CodeNamespace)
Parameters
- codeNamespace
- CodeNamespace
A CodeNamespace that specifies the namespace of the types to generate.
Remarks
Instead of directly creating an instance of the SoapCodeExporter class, use the Wsdl.exe tool.
Applies to
SoapCodeExporter(CodeNamespace, CodeCompileUnit)
Initializes a new instance of the SoapCodeExporter class, specifying a code compile unit parameter in addition to a namespace parameter.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
SoapCodeExporter(System::CodeDom::CodeNamespace ^ codeNamespace, System::CodeDom::CodeCompileUnit ^ codeCompileUnit);
public SoapCodeExporter (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit);
new System.Xml.Serialization.SoapCodeExporter : System.CodeDom.CodeNamespace * System.CodeDom.CodeCompileUnit -> System.Xml.Serialization.SoapCodeExporter
Public Sub New (codeNamespace As CodeNamespace, codeCompileUnit As CodeCompileUnit)
Parameters
- codeNamespace
- CodeNamespace
A CodeNamespace that specifies the namespace of the types to generate.
- codeCompileUnit
- CodeCompileUnit
A CodeCompileUnit that identifies the program graph container to which used assembly references are automatically added.
Remarks
Instead of directly creating an instance of the SoapCodeExporter class, use the Wsdl.exe tool.
Applies to
SoapCodeExporter(CodeNamespace, CodeCompileUnit, CodeGenerationOptions)
Initializes a new instance of the SoapCodeExporter class, specifying a code namespace, a code compile unit, and code generation options.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
SoapCodeExporter(System::CodeDom::CodeNamespace ^ codeNamespace, System::CodeDom::CodeCompileUnit ^ codeCompileUnit, System::Xml::Serialization::CodeGenerationOptions options);
public SoapCodeExporter (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit, System.Xml.Serialization.CodeGenerationOptions options);
new System.Xml.Serialization.SoapCodeExporter : System.CodeDom.CodeNamespace * System.CodeDom.CodeCompileUnit * System.Xml.Serialization.CodeGenerationOptions -> System.Xml.Serialization.SoapCodeExporter
Public Sub New (codeNamespace As CodeNamespace, codeCompileUnit As CodeCompileUnit, options As CodeGenerationOptions)
Parameters
- codeNamespace
- CodeNamespace
A CodeNamespace that specifies the namespace of the types to generate.
- codeCompileUnit
- CodeCompileUnit
A CodeCompileUnit that identifies the program graph container to which used assembly references are automatically added.
- options
- CodeGenerationOptions
A CodeGenerationOptions enumeration that specifies the options with which exported code is generated.
Remarks
Instead of directly creating an instance of the SoapCodeExporter class, use the Wsdl.exe tool.
Applies to
SoapCodeExporter(CodeNamespace, CodeCompileUnit, CodeGenerationOptions, Hashtable)
Initializes a new instance of the SoapCodeExporter class, specifying a code namespace, a code compile unit, code generation options, and mappings.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
SoapCodeExporter(System::CodeDom::CodeNamespace ^ codeNamespace, System::CodeDom::CodeCompileUnit ^ codeCompileUnit, System::Xml::Serialization::CodeGenerationOptions options, System::Collections::Hashtable ^ mappings);
public SoapCodeExporter (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit, System.Xml.Serialization.CodeGenerationOptions options, System.Collections.Hashtable mappings);
new System.Xml.Serialization.SoapCodeExporter : System.CodeDom.CodeNamespace * System.CodeDom.CodeCompileUnit * System.Xml.Serialization.CodeGenerationOptions * System.Collections.Hashtable -> System.Xml.Serialization.SoapCodeExporter
Public Sub New (codeNamespace As CodeNamespace, codeCompileUnit As CodeCompileUnit, options As CodeGenerationOptions, mappings As Hashtable)
Parameters
- codeNamespace
- CodeNamespace
A CodeNamespace that specifies the namespace of the types to generate.
- codeCompileUnit
- CodeCompileUnit
A CodeCompileUnit that identifies the program graph container to which used assembly references are automatically added.
- options
- CodeGenerationOptions
A CodeGenerationOptions enumeration that specifies the options with which exported code is generated.
- mappings
- Hashtable
A Hashtable that contains XmlMapping objects.
Remarks
Instead of directly creating an instance of the SoapCodeExporter class, use the Wsdl.exe tool.
Applies to
SoapCodeExporter(CodeNamespace, CodeCompileUnit, CodeDomProvider, CodeGenerationOptions, Hashtable)
Initializes a new instance of the SoapCodeExporter class, specifying a code namespace, a code compile unit, a code generator, code generation options, and mappings.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
SoapCodeExporter(System::CodeDom::CodeNamespace ^ codeNamespace, System::CodeDom::CodeCompileUnit ^ codeCompileUnit, System::CodeDom::Compiler::CodeDomProvider ^ codeProvider, System::Xml::Serialization::CodeGenerationOptions options, System::Collections::Hashtable ^ mappings);
public SoapCodeExporter (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit, System.CodeDom.Compiler.CodeDomProvider codeProvider, System.Xml.Serialization.CodeGenerationOptions options, System.Collections.Hashtable mappings);
new System.Xml.Serialization.SoapCodeExporter : System.CodeDom.CodeNamespace * System.CodeDom.CodeCompileUnit * System.CodeDom.Compiler.CodeDomProvider * System.Xml.Serialization.CodeGenerationOptions * System.Collections.Hashtable -> System.Xml.Serialization.SoapCodeExporter
Public Sub New (codeNamespace As CodeNamespace, codeCompileUnit As CodeCompileUnit, codeProvider As CodeDomProvider, options As CodeGenerationOptions, mappings As Hashtable)
Parameters
- codeNamespace
- CodeNamespace
A CodeNamespace that specifies the namespace of the types to generate.
- codeCompileUnit
- CodeCompileUnit
A CodeCompileUnit that identifies the program graph container to which used assembly references are automatically added.
- codeProvider
- CodeDomProvider
A CodeDomProvider that is used to create the code.
- options
- CodeGenerationOptions
A CodeGenerationOptions enumeration that specifies the options with which exported code is generated.
- mappings
- Hashtable
A Hashtable that contains XmlMapping objects.