PortType

PortType

System.Web.Services.Description (system.web.services.dll)sealed class

This class represents the WSDL <portType> element. It groups a set of related Operation objects, and identifies them with a Name. In a WSDL document generated by ASP.NET, there are three <portType> elements: one relating to HTTP GET, another for HTTP POST, and one for SOAP transmissions. ASP.NET creates these elements using the name of your web service and adding a suffix describing the type of transmission (for example, MyWebServiceHttpGet).

public sealed class PortType : DocumentableItem { // Public Constructors    public PortType( ); // Public Instance Properties    public string Name{set; get; }    public OperationCollection Operations{get; }    public ServiceDescription ServiceDescription{get; } }

Hierarchy

System.Object DocumentableItem PortType

Returned By

Operation.PortType, PortTypeCollection.this, ProtocolImporter.PortType, ProtocolReflector.PortType, ServiceDescriptionCollection.GetPortType( )

Passed To

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