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}



    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