Message

Message

System.Web.Services.Description (system.web.services.dll)sealed 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); }

Hierarchy

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}



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net