SoapSchemaImporter.ImportDerivedTypeMapping Method
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.
Generates internal type mapping information for the type of a SOAP-encoded element part defined in a WSDL document where a base type is specified.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
System::Xml::Serialization::XmlTypeMapping ^ ImportDerivedTypeMapping(System::Xml::XmlQualifiedName ^ name, Type ^ baseType, bool baseTypeCanBeIndirect);
public System.Xml.Serialization.XmlTypeMapping ImportDerivedTypeMapping (System.Xml.XmlQualifiedName name, Type baseType, bool baseTypeCanBeIndirect);
member this.ImportDerivedTypeMapping : System.Xml.XmlQualifiedName * Type * bool -> System.Xml.Serialization.XmlTypeMapping
Public Function ImportDerivedTypeMapping (name As XmlQualifiedName, baseType As Type, baseTypeCanBeIndirect As Boolean) As XmlTypeMapping
Parameters
- name
- XmlQualifiedName
An XmlQualifiedName that specifies the name of an element's type for which a .NET Framework type is being generated.
- baseType
- Type
A base type for the .NET Framework type being generated.
- baseTypeCanBeIndirect
- Boolean
true
to indicate that the type being generated may indirectly inherit from the base type; otherwise, false
.
Returns
The .NET Framework type mapping information for a derived type corresponding to a WSDL message part.
Remarks
The ImportDerivedTypeMapping method of the SoapSchemaImporter class is used by the Web Services Description Language Tool (Wsdl.exe) while generating client proxy classes or abstract server classes from a Web Services Description Language (WSDL) document. Instead of calling this method directly, use Wsdl.exe.
The SoapSchemaImporter class is used only when a WSDL document specifies SOAP encoding, as described in Section 5 of the SOAP 1.1 specification.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應