編集

次の方法で共有


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

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

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

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