
PortCollection | 577
Description
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ DocumentableItem ➝ MessageBinding ➝ OutputBinding
Returned By
OperationBinding.Output
Passed To
OperationBinding.Output
Port
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).
Hierarchy
System.Object ➝ DocumentableItem ➝ Port
Returned By
PortCollection.this, ProtocolImporter.Port, ProtocolReflector.Port
Passed To
PortCollection.{Add( ), Contains( ), CopyTo( ), IndexOf( ), Insert( ), Remove( ), this}
PortCollection
System.Web.Services.Description (system.web.services.dll)
sealed class
This collection of Port objects is used by the Ports property of the Service class to repre-
sent all the <port> elements in a WSDL document. You can access each Port element by
name or position (index number).
public OutputBinding();
// Public Instance Properties
public override ServiceDescriptionFormatExtensionCollection ...