SoapReflectionImporter.ImportMembersMapping Method
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 a mapping to an XML Schema element for a .NET type.
ImportMembersMapping(String, String, XmlReflectionMember[]) |
Generates internal type mappings for information that is gathered from a Web service method. |
ImportMembersMapping(String, String, XmlReflectionMember[], Boolean, Boolean) |
Generates internal type mappings for information that is gathered from a Web service method. |
ImportMembersMapping(String, String, XmlReflectionMember[], Boolean, Boolean, Boolean) |
Generates internal type mappings for information that is gathered from a Web service method. |
ImportMembersMapping(String, String, XmlReflectionMember[], Boolean, Boolean, Boolean, XmlMappingAccess) |
Generates internal type mappings for information that is gathered from a Web service method. |
- Source:
- SoapReflectionImporter.cs
- Source:
- SoapReflectionImporter.cs
- Source:
- SoapReflectionImporter.cs
Generates internal type mappings for information that is gathered from a Web service method.
public:
System::Xml::Serialization::XmlMembersMapping ^ ImportMembersMapping(System::String ^ elementName, System::String ^ ns, cli::array <System::Xml::Serialization::XmlReflectionMember ^> ^ members);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (string? elementName, string? ns, System.Xml.Serialization.XmlReflectionMember[] members);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (string elementName, string ns, System.Xml.Serialization.XmlReflectionMember[] members);
member this.ImportMembersMapping : string * string * System.Xml.Serialization.XmlReflectionMember[] -> System.Xml.Serialization.XmlMembersMapping
Public Function ImportMembersMapping (elementName As String, ns As String, members As XmlReflectionMember()) As XmlMembersMapping
Parameters
- elementName
- String
An XML element name produced from the Web service method.
- ns
- String
An XML element namespace produced from the Web service method.
- members
- XmlReflectionMember[]
An array of .NET code entities that belong to a Web service method.
Returns
Internal .NET type mappings to the element parts of a WSDL message definition.
Remarks
The ImportMembersMapping method is called while initializing a Web service or client, or reflecting a Web service. You do not need to call it directly.
The following list describes possible values for the members
parameter:
Web service method input parameters.
Web service method output parameters, plus the return type, if not void, at index zero.
SOAP input headers.
SOAP output headers.
Applies to
.NET 9 dan versi lain
Produk | Versi |
---|---|
.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 |
- Source:
- SoapReflectionImporter.cs
- Source:
- SoapReflectionImporter.cs
- Source:
- SoapReflectionImporter.cs
Generates internal type mappings for information that is gathered from a Web service method.
public:
System::Xml::Serialization::XmlMembersMapping ^ ImportMembersMapping(System::String ^ elementName, System::String ^ ns, cli::array <System::Xml::Serialization::XmlReflectionMember ^> ^ members, bool hasWrapperElement, bool writeAccessors);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (string? elementName, string? ns, System.Xml.Serialization.XmlReflectionMember[] members, bool hasWrapperElement, bool writeAccessors);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (string elementName, string ns, System.Xml.Serialization.XmlReflectionMember[] members, bool hasWrapperElement, bool writeAccessors);
member this.ImportMembersMapping : string * string * System.Xml.Serialization.XmlReflectionMember[] * bool * bool -> System.Xml.Serialization.XmlMembersMapping
Public Function ImportMembersMapping (elementName As String, ns As String, members As XmlReflectionMember(), hasWrapperElement As Boolean, writeAccessors As Boolean) As XmlMembersMapping
Parameters
- elementName
- String
An XML element name produced from the Web service method.
- ns
- String
An XML element namespace produced from the Web service method.
- members
- XmlReflectionMember[]
An array of .NET code entities that belong to a Web service method.
- hasWrapperElement
- Boolean
true
to indicate that elements that correspond to WSDL message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false
.
- writeAccessors
- Boolean
true
to indicate an RPC-style Web service binding; false
to indicate a document-style Web service binding or a SOAP header.
Returns
Internal .NET type mappings to the element parts of a WSDL message definition.
Remarks
The ImportMembersMapping method is called while initializing a Web service or client, or reflecting a Web service. You do not need to call it directly.
The following list describes possible values for the members
parameter:
Web service method input parameters.
Web service method output parameters, plus the return type, if not void, at index zero.
SOAP input headers.
SOAP output headers.
Applies to
.NET 9 dan versi lain
Produk | Versi |
---|---|
.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 |
- Source:
- SoapReflectionImporter.cs
- Source:
- SoapReflectionImporter.cs
- Source:
- SoapReflectionImporter.cs
Generates internal type mappings for information that is gathered from a Web service method.
public:
System::Xml::Serialization::XmlMembersMapping ^ ImportMembersMapping(System::String ^ elementName, System::String ^ ns, cli::array <System::Xml::Serialization::XmlReflectionMember ^> ^ members, bool hasWrapperElement, bool writeAccessors, bool validate);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (string? elementName, string? ns, System.Xml.Serialization.XmlReflectionMember[] members, bool hasWrapperElement, bool writeAccessors, bool validate);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (string elementName, string ns, System.Xml.Serialization.XmlReflectionMember[] members, bool hasWrapperElement, bool writeAccessors, bool validate);
member this.ImportMembersMapping : string * string * System.Xml.Serialization.XmlReflectionMember[] * bool * bool * bool -> System.Xml.Serialization.XmlMembersMapping
Public Function ImportMembersMapping (elementName As String, ns As String, members As XmlReflectionMember(), hasWrapperElement As Boolean, writeAccessors As Boolean, validate As Boolean) As XmlMembersMapping
Parameters
- elementName
- String
An XML element name produced from the Web service method.
- ns
- String
An XML element namespace produced from the Web service method.
- members
- XmlReflectionMember[]
An array of .NET code entities that belong to a Web service method.
- hasWrapperElement
- Boolean
true
to indicate that elements that correspond to WSDL message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false
.
- writeAccessors
- Boolean
true
to indicate an RPC-style Web service binding; false
to indicate a document-style Web service binding or a SOAP header.
- validate
- Boolean
true
to indicate that a generated deserializer should check for the expected qualified name of the wrapper element; otherwise, false
. This parameter's value is relevant only if the hasWrapperElement
parameter's value is true
.
Returns
Internal .NET type mappings to the element parts of a WSDL message definition.
Remarks
The ImportMembersMapping method is called while initializing a Web service or client, or reflecting a Web service. You do not need to call it directly.
The following list describes possible values for the members
parameter:
Web service method input parameters.
Web service method output parameters, plus the return type, if not void, at index zero.
SOAP input headers.
SOAP output headers.
Applies to
.NET 9 dan versi lain
Produk | Versi |
---|---|
.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 |
ImportMembersMapping(String, String, XmlReflectionMember[], Boolean, Boolean, Boolean, XmlMappingAccess)
- Source:
- SoapReflectionImporter.cs
- Source:
- SoapReflectionImporter.cs
- Source:
- SoapReflectionImporter.cs
Generates internal type mappings for information that is gathered from a Web service method.
public:
System::Xml::Serialization::XmlMembersMapping ^ ImportMembersMapping(System::String ^ elementName, System::String ^ ns, cli::array <System::Xml::Serialization::XmlReflectionMember ^> ^ members, bool hasWrapperElement, bool writeAccessors, bool validate, System::Xml::Serialization::XmlMappingAccess access);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (string? elementName, string? ns, System.Xml.Serialization.XmlReflectionMember[] members, bool hasWrapperElement, bool writeAccessors, bool validate, System.Xml.Serialization.XmlMappingAccess access);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (string elementName, string ns, System.Xml.Serialization.XmlReflectionMember[] members, bool hasWrapperElement, bool writeAccessors, bool validate, System.Xml.Serialization.XmlMappingAccess access);
member this.ImportMembersMapping : string * string * System.Xml.Serialization.XmlReflectionMember[] * bool * bool * bool * System.Xml.Serialization.XmlMappingAccess -> System.Xml.Serialization.XmlMembersMapping
Public Function ImportMembersMapping (elementName As String, ns As String, members As XmlReflectionMember(), hasWrapperElement As Boolean, writeAccessors As Boolean, validate As Boolean, access As XmlMappingAccess) As XmlMembersMapping
Parameters
- elementName
- String
An XML element name produced from the Web service method.
- ns
- String
An XML element namespace produced from the Web service method.
- members
- XmlReflectionMember[]
An array of .NET code entities that belong to a Web service method.
- hasWrapperElement
- Boolean
true
to indicate that elements that correspond to WSDL message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false
.
- writeAccessors
- Boolean
true
to indicate an RPC-style Web service binding; false
to indicate a document-style Web service binding or a SOAP header.
- validate
- Boolean
true
to indicate that a generated deserializer should check for the expected qualified name of the wrapper element; otherwise, false
. This parameter's value is relevant only if the hasWrapperElement
parameter's value is true
.
- access
- XmlMappingAccess
One of the XmlMappingAccess values.
Returns
Internal .NET type mappings to the element parts of a WSDL message definition.
Remarks
The ImportMembersMapping method is called while initializing a Web service or client, or reflecting a Web service. You do not need to call it directly.
The following list describes possible values for the members
parameter:
Web service method input parameters.
Web service method output parameters, plus the return type, if not void, at index zero.
SOAP input headers.
SOAP output headers.
Applies to
.NET 9 dan versi lain
Produk | Versi |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 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 maklum balas
.NET ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas: