Bearbeiten

XmlReflectionMember.MemberName Property

Definition

Gets or sets the name of the Web service method member for this mapping.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property System::String ^ MemberName { System::String ^ get(); void set(System::String ^ value); };
public string MemberName { get; set; }
member this.MemberName : string with get, set
Public Property MemberName As String

Property Value

The name of the Web service method.

Remarks

The Web service method member may be an input parameter, an output parameter, a return type, an input header, or an output header.

You do not need to use the XmlReflectionMember class and its properties directly.

See the XmlMembersMapping class for the cases when a member corresponds to a <part> element defined in a Web Services Description Language (WSDL) document. Note, however, that with a wrapped binding between a WSDL operation and a .NET Framework method (indicated by the Wrapped enumeration member), the method parameters and return value do not appear in the WSDL document.

When a Web service method is being reflected, the return type's MemberName property becomes the method name (made unique from other member names, if necessary) with "Result" appended.

Applies to