Main Page

  Previous Section Next Section


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

This class represents the WSDL <port> element. It defines a service endpoint, which is the URL required to access the web service. In a WSDL document generated by ASP.NET, you will find three <port> elements: one for each type of transmission (HTTP GET, HTTP POST, and SOAP). Each element will point to the same URL, which is the fully qualified location of your .asmx file (for example, http://www.mysite.com/ws/MyService.asmx).

public sealed class Port : DocumentableItem {
// Public Constructors
   public Port( );
// Public Instance Properties
   public XmlQualifiedName Binding{set; get; }
   public ServiceDescriptionFormatExtensionCollection Extensions{get; }
   public string Name{set; get; }
   public Service Service{get; }


System.Object DocumentableItem Port

Returned By

PortCollection.this, ProtocolImporter.Port, ProtocolReflector.Port

Passed To

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

      Previous Section Next Section