System.Web.Services.Description ( class

This class represents the WSDL <message> element, which is used to describe the contents of messages exchanged between a client and the web service. For every method in a web service, a WSDL document contains an input and output message. There are also separate message definitions for every protocol type. For example, for a method called GetInfo, ASP.NET would generate GetInfoHttpPostIn and GetInfoHttpPostOut messages, along with corresponding messages for HTTP GET and SOAP. Messages consist of zero or more MessagePart objects, which specify method parameters and return values.

public sealed class Message : DocumentableItem {
// Public Constructors
   public Message( );
// Public Instance Properties
   public string Name{set; get; }
   public MessagePartCollection Parts{get; }
   public ServiceDescription ServiceDescription{get; }
// Public Instance Methods
   public MessagePart FindPartByName(string partName);
   public MessagePart[ ] FindPartsByName(string[ ] partNames);


System.Object DocumentableItem Message

Returned By

MessageCollection.this, MessagePart.Message, ProtocolImporter.{InputMessage, OutputMessage}, ProtocolReflector.{InputMessage, OutputMessage}, ServiceDescriptionCollection.GetMessage( )

Passed To

MessageCollection.{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