XmlReflectionMember Class
Provides mappings between code entities in .NET Framework Web service methods and the content of Web Services Description Language (WSDL) messages that are defined for SOAP Web services.
Assembly: System.Xml (in System.Xml.dll)
The XmlReflectionMember type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | IsReturnValue | Gets or sets a value that indicates whether the XmlReflectionMember represents a Web service method return value, as opposed to an output parameter. |
![]() | MemberName | Gets or sets the name of the Web service method member for this mapping. |
![]() | MemberType | Gets or sets the type of the Web service method member code entity that is represented by this mapping. |
![]() | OverrideIsNullable | Gets or sets a value that indicates that the value of the corresponding XML element definition's isNullable attribute is false. |
![]() | SoapAttributes | Gets or sets a SoapAttributes with the collection of SOAP-related attributes that have been applied to the member code entity. |
![]() | XmlAttributes | Gets or sets an XmlAttributes with the collection of XmlSerializer-related attributes that have been applied to the member code entity. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The XmlReflectionMember class is not used directly. Instead, it is used:
To initialize XmlSerializer objects while the .NET Framework is initializing a SOAP Web service or client.
By the ServiceDescriptionReflector class while ServiceDescriptionReflector creates ServiceDescription objects from classes that are identified as SOAP Web services.
During reflection of a SOAP Web service method, arrays of XmlReflectionMember objects are produced that represent the contents of WSDL message definitions. An array is produced for each of the following items that belong to a SOAP Web service method:
Input parameters.
Output parameters and return values.
Request SOAP headers via attributes.
Response SOAP headers via attributes.
The SoapReflectionImporter and XmlReflectionImporter classes translate an XmlReflectionMember array into an XmlMembersMapping that contains an XmlMemberMapping collection, for further processing.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
