XmlMemberMapping.MemberName Property
Definition
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.
Gets the name of the Web service method member that is represented by 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(); };
public string MemberName { get; }
member this.MemberName : string
Public ReadOnly Property MemberName As String
Property Value
The name of the Web service method member represented by this mapping.
Remarks
The Web service method member can be an input parameter, output parameter, return type, input header, or output header.
See the XmlMembersMapping class for 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 class is being reflected into a ServiceDescription object, the return type's MemberName property becomes the method name (made unique from other member names, if necessary) with "Result" appended. This convention also is used, in some circumstances, while importing Web service classes from ServiceDescription objects generated from WSDL documents.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기