System.Web.Services.Description ( class

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 sealed class MessagePart : DocumentableItem {
// Public Constructors
   public MessagePart( );
// Public Instance Properties
   public XmlQualifiedName Element{set; get; }
   public Message Message{get; }
   public string Name{set; get; }
   public XmlQualifiedName Type{set; get; }


System.Object DocumentableItem MessagePart

Returned By

Message.{FindPartByName( ), FindPartsByName( )}, MessagePartCollection.this

Passed To

MessagePartCollection.{Add( ), Contains( ), CopyTo( ), IndexOf( ), Insert( ), Remove( ), this}

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace