Name
MessagePart
Synopsis
This class represents a WSDL <part>
element, which is contained in a <message>
element. Each MessagePart
object corresponds to a single parameter or a return value for a function, and
specifies the variable’s Name
and
either an XML Type
or
an XML Element
,
which refers to an element from the Types
collection.
For example, a GetStockQuote method would have several messages,
including GetStockQuoteHttpGetOut
, and would have a single MessagePart
representing
the return value. Return values are given the Name
“parameters” for a SOAP request or “Body” for an HTTP request.
Public NotInheritable Class MessagePart : Inherits DocumentableItem ' Public Constructors Public Sub New() ' Public Instance Properties Public Property Element As XmlQualifiedName Public ReadOnly Property Message As Message Public Property Name As String Public Property Type As XmlQualifiedName End Class
Hierarchy
System.Object→DocumentableItem→ MessagePart
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.