SoapReflectionImporter.ImportMembersMapping Method

Definition

Generates a mapping to an XML Schema element for a .NET type.

Overloads

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.

ImportMembersMapping(String, String, XmlReflectionMember[])

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 (string? elementName, string? ns, System.Xml.Serialization.XmlReflectionMember[] members);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (string elementName, string ns, System.Xml.Serialization.XmlReflectionMember[] members);

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

ImportMembersMapping(String, String, XmlReflectionMember[], Boolean, Boolean)

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 (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);

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

ImportMembersMapping(String, String, XmlReflectionMember[], Boolean, Boolean, Boolean)

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 (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);

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 (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);

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